BuildManagerHostUnloadEventArgs Class

BuildManagerHostUnloadEventArgs Class

 

Contains event data for the AppDomainShutdown event and the AppDomainUnloaded event.

Namespace:   System.Web.Compilation
Assembly:  System.Web (in System.Web.dll)

System.Object
  System.EventArgs
    System.Web.Compilation.BuildManagerHostUnloadEventArgs

[PermissionSetAttribute(SecurityAction.LinkDemand, Unrestricted = true)]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Unrestricted = true)]
public class BuildManagerHostUnloadEventArgs : EventArgs

NameDescription
System_CAPS_pubmethodBuildManagerHostUnloadEventArgs(ApplicationShutdownReason)

Initializes a new instance of the BuildManagerHostUnloadEventArgs class.

NameDescription
System_CAPS_pubpropertyReason

Gets the reason the hosted application domain was shut down.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

When an AppDomain instance is shut down or unloaded, an AppDomainShutdown event or an AppDomainUnloaded event is raised, respectively. The BuildManagerHostUnloadEventArgs object stores the reason for the shutdown or unload and is passed to the event handler as one of its parameters.

.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft