日期:2014-05-17 浏览次数:20958 次
[System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand)]
public override void Rollback(IDictionary savedState)
{
base.Rollback(savedState);
MessageBox.Show("Rollback");
}
[System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand)]
public override void Uninstall(IDictionary savedState)
{
base.Uninstall(savedState);
MessageBox.Show("Rollback");
}
protected override void OnAfterInstall(IDictionary savedState)
{
base.OnAfterInstall(savedState);
MessageBox.Show("OnAfterInstall");
}
protected override void OnAfterRollback(IDictionary savedState)
{
base.OnAfterRollback(savedState);
MessageBox.Show("OnAfterRollback");
}
protected override void OnAfterUninstall(IDictionary savedState)
{
base.OnAfte