BuildManagerHostUnloadEventArgs 类
定义
包含 AppDomainShutdown 事件和 AppDomainUnloaded 事件的事件数据。Contains event data for the AppDomainShutdown event and the AppDomainUnloaded event.
public ref class BuildManagerHostUnloadEventArgs : EventArgs
public class BuildManagerHostUnloadEventArgs : EventArgs
type BuildManagerHostUnloadEventArgs = class
inherit EventArgs
Public Class BuildManagerHostUnloadEventArgs
Inherits EventArgs
- 继承
注解
关闭 AppDomain 或卸载实例时, AppDomainShutdown AppDomainUnloaded 将分别引发一个事件或事件。When an AppDomain instance is shut down or unloaded, an AppDomainShutdown event or an AppDomainUnloaded event is raised, respectively. BuildManagerHostUnloadEventArgs对象存储关闭或卸载的原因,并作为其参数之一传递到事件处理程序。The BuildManagerHostUnloadEventArgs object stores the reason for the shutdown or unload and is passed to the event handler as one of its parameters.
构造函数
| BuildManagerHostUnloadEventArgs(ApplicationShutdownReason) |
初始化 BuildManagerHostUnloadEventArgs 类的新实例。Initializes a new instance of the BuildManagerHostUnloadEventArgs class. |
属性
| Reason |
获取寄宿应用程序域的关闭原因。Gets the reason the hosted application domain was shut down. |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |