This documentation is archived and is not being maintained.

_AppDomain Members

_AppDomain overview

Public Properties

public propertyBaseDirectory Gets the base directory that the assembly resolver used to probe for assemblies.
public propertyDynamicDirectory Gets the directory that the assembly resolver used to probe for dynamically-created assemblies.
public propertyEvidence Gets the Evidence associated with this application domain that is used as input to security policy.
public propertyFriendlyName Gets the friendly name of this application domain.
public propertyRelativeSearchPath Gets the path relative to the base directory where the assembly resolver should probe for private assemblies.
public propertyShadowCopyFiles Gets an indication whether all assemblies loaded in the application domain are shadow copied.

Public Methods

public methodAppendPrivatePath Appends the specified name of the directory to the private path.
public methodClearPrivatePath Resets the path that specifies the location of private assemblies to the empty string ("").
public methodClearShadowCopyPath Resets the list of directories containing shadow copied assemblies to the empty string ("").
public methodCreateInstance Overloaded. Creates a new instance of a specified type defined in a specified assembly.
public methodCreateInstanceFrom Overloaded. Creates a new instance of a specified type defined in the specified assembly file.
public methodDefineDynamicAssembly Overloaded. Defines a dynamic assembly in the current application domain.
public methodDoCallBack Executes the code in another application domain that is identified by the specified delegate.
public methodEquals Returns a value indicating whether this instance is equal to a specified object.
public methodExecuteAssembly Overloaded. Executes the specified assembly.
public methodGetAssemblies Gets the assemblies that have been loaded into this application domain.
public methodGetData Gets the value stored in the current application domain for the specified data name.
public methodGetHashCode Returns the hash code for this instance.
public methodGetLifetimeService Returns a lifetime service object that controls the lifetime policy for an instance that implements this interface.
public methodGetType Gets the type of the current instance.
public methodInitializeLifetimeService Gives the AppDomain an infinite lifetime by preventing a lease from being created.
public methodLoad Overloaded. Loads an Assembly into this application domain.
public methodSetAppDomainPolicy Establishes the security policy level for this application domain.
public methodSetCachePath Establishes the specified directory path as the location where assemblies are shadow copied.
public methodSetData Assigns the specified value to the specified application domain property.
public methodSetPrincipalPolicy Specifies how principal and identity objects should be attached to a thread if the thread attempts to bind to a principal while executing in this application domain.
public methodSetShadowCopyPath Establishes the specified directory path as the location of assemblies to be shadow copied.
public methodSetThreadPrincipal Set the default principal object to be attached to threads if they attempt to bind to a principal while executing in this application domain.
public methodToString Obtains the String representation of this instance.

Public Events

public eventAssemblyLoad Occurs when an assembly is loaded.
public eventAssemblyResolve Occurs when the resolution of an assembly fails.
public eventDomainUnload Occurs when an AppDomain is about to be unloaded.
public eventProcessExit Occurs when a process is about to exit.
public eventResourceResolve Occurs when the resolution of a resource fails.
public eventTypeResolve Occurs when the resolution of a type fails.
public eventUnhandledException Occurs when an exception is not caught by an event handler.

See Also

_AppDomain Interface | System Namespace

Show: