Editare

Partajați prin


BuildManagerHostUnloadEventArgs Class

Definition

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
Inheritance
BuildManagerHostUnloadEventArgs

Remarks

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.

Constructors

BuildManagerHostUnloadEventArgs(ApplicationShutdownReason)

Initializes a new instance of the BuildManagerHostUnloadEventArgs class.

Properties

Reason

Gets the reason the hosted application domain was shut down.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also