AppDomain Methods

 

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodAppendPrivatePath(String)

Obsolete. Appends the specified directory name to the private path list.

System_CAPS_pubmethodApplyPolicy(String)

Returns the assembly display name after policy has been applied.

System_CAPS_pubmethodClearPrivatePath()

Obsolete. Resets the path that specifies the location of private assemblies to the empty string ("").

System_CAPS_pubmethodClearShadowCopyPath()

Obsolete. Resets the list of directories containing shadow copied assemblies to the empty string ("").

System_CAPS_pubmethodCreateComInstanceFrom(String, String)

Creates a new instance of a specified COM type. Parameters specify the name of a file that contains an assembly containing the type and the name of the type.

System_CAPS_pubmethodCreateComInstanceFrom(String, String, Byte[], AssemblyHashAlgorithm)

Creates a new instance of a specified COM type. Parameters specify the name of a file that contains an assembly containing the type and the name of the type.

System_CAPS_pubmethodSystem_CAPS_staticCreateDomain(String)

Creates a new application domain with the specified name.

System_CAPS_pubmethodSystem_CAPS_staticCreateDomain(String, Evidence)

Creates a new application domain with the given name using the supplied evidence.

System_CAPS_pubmethodSystem_CAPS_staticCreateDomain(String, Evidence, AppDomainSetup)

Creates a new application domain using the specified name, evidence, and application domain setup information.

System_CAPS_pubmethodSystem_CAPS_staticCreateDomain(String, Evidence, AppDomainSetup, PermissionSet, StrongName[])

Creates a new application domain using the specified name, evidence, application domain setup information, default permission set, and array of fully trusted assemblies.

System_CAPS_pubmethodSystem_CAPS_staticCreateDomain(String, Evidence, String, String, Boolean)

Creates a new application domain with the given name, using evidence, application base path, relative search path, and a parameter that specifies whether a shadow copy of an assembly is to be loaded into the application domain.

System_CAPS_pubmethodSystem_CAPS_staticCreateDomain(String, Evidence, String, String, Boolean, AppDomainInitializer, String[])

Creates a new application domain with the given name, using evidence, application base path, relative search path, and a parameter that specifies whether a shadow copy of an assembly is to be loaded into the application domain. Specifies a callback method that is invoked when the application domain is initialized, and an array of string arguments to pass the callback method.

System_CAPS_pubmethodCreateInstance(String, String)

Creates a new instance of the specified type defined in the specified assembly.

System_CAPS_pubmethodCreateInstance(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[])

Creates a new instance of the specified type defined in the specified assembly. Parameters specify a binder, binding flags, constructor arguments, culture-specific information used to interpret arguments, and optional activation attributes.

System_CAPS_pubmethodCreateInstance(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[], Evidence)

Obsolete. Creates a new instance of the specified type defined in the specified assembly. Parameters specify a binder, binding flags, constructor arguments, culture-specific information used to interpret arguments, activation attributes, and authorization to create the type.

System_CAPS_pubmethodCreateInstance(String, String, Object[])

Creates a new instance of the specified type defined in the specified assembly. A parameter specifies an array of activation attributes.

System_CAPS_pubmethodCreateInstanceAndUnwrap(String, String)

Creates a new instance of the specified type. Parameters specify the assembly where the type is defined, and the name of the type.

System_CAPS_pubmethodCreateInstanceAndUnwrap(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[])

Creates a new instance of the specified type defined in the specified assembly, specifying whether the case of the type name is ignored; the binding attributes and the binder that are used to select the type to be created; the arguments of the constructor; the culture; and the activation attributes.

System_CAPS_pubmethodCreateInstanceAndUnwrap(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[], Evidence)

Obsolete. Creates a new instance of the specified type. Parameters specify the name of the type, and how it is found and created.

System_CAPS_pubmethodCreateInstanceAndUnwrap(String, String, Object[])

Creates a new instance of the specified type. Parameters specify the assembly where the type is defined, the name of the type, and an array of activation attributes.

System_CAPS_pubmethodCreateInstanceFrom(String, String)

Creates a new instance of the specified type defined in the specified assembly file.

System_CAPS_pubmethodCreateInstanceFrom(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[])

Creates a new instance of the specified type defined in the specified assembly file.

System_CAPS_pubmethodCreateInstanceFrom(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[], Evidence)

Obsolete. Creates a new instance of the specified type defined in the specified assembly file.

System_CAPS_pubmethodCreateInstanceFrom(String, String, Object[])

Creates a new instance of the specified type defined in the specified assembly file.

System_CAPS_pubmethodCreateInstanceFromAndUnwrap(String, String)

Creates a new instance of the specified type defined in the specified assembly file.

System_CAPS_pubmethodCreateInstanceFromAndUnwrap(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[])

Creates a new instance of the specified type defined in the specified assembly file, specifying whether the case of the type name is ignored; the binding attributes and the binder that are used to select the type to be created; the arguments of the constructor; the culture; and the activation attributes.

System_CAPS_pubmethodCreateInstanceFromAndUnwrap(String, String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[], Evidence)

Obsolete. Creates a new instance of the specified type defined in the specified assembly file.

System_CAPS_pubmethodCreateInstanceFromAndUnwrap(String, String, Object[])

Creates a new instance of the specified type defined in the specified assembly file.

System_CAPS_pubmethodCreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess)

Defines a dynamic assembly with the specified name and access mode.

System_CAPS_pubmethodDefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence)

Obsolete. Defines a dynamic assembly using the specified name, access mode, and evidence.

System_CAPS_pubmethodDefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, Evidence, PermissionSet, PermissionSet, PermissionSet)

Obsolete. Defines a dynamic assembly using the specified name, access mode, evidence, and permission requests.

System_CAPS_pubmethodDefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, IEnumerable<CustomAttributeBuilder>)

Defines a dynamic assembly with the specified name, access mode, and custom attributes.

System_CAPS_pubmethodDefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, IEnumerable<CustomAttributeBuilder>, SecurityContextSource)

Defines a dynamic assembly with the specified name, access mode, and custom attributes, and using the specified source for its security context.

System_CAPS_pubmethodDefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, PermissionSet, PermissionSet, PermissionSet)

Obsolete. Defines a dynamic assembly using the specified name, access mode, and permission requests.

System_CAPS_pubmethodDefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String)

Defines a dynamic assembly using the specified name, access mode, and storage directory.

System_CAPS_pubmethodDefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Boolean, IEnumerable<CustomAttributeBuilder>)

Defines a dynamic assembly using the specified name, access mode, storage directory, and synchronization option.

System_CAPS_pubmethodDefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence)

Obsolete. Defines a dynamic assembly using the specified name, access mode, storage directory, and evidence.

System_CAPS_pubmethodDefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet)

Obsolete. Defines a dynamic assembly using the specified name, access mode, storage directory, evidence, and permission requests.

System_CAPS_pubmethodDefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet, Boolean)

Obsolete. Defines a dynamic assembly using the specified name, access mode, storage directory, evidence, permission requests, and synchronization option.

System_CAPS_pubmethodDefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, Evidence, PermissionSet, PermissionSet, PermissionSet, Boolean, IEnumerable<CustomAttributeBuilder>)

Obsolete. Defines a dynamic assembly with the specified name, access mode, storage directory, evidence, permission requests, synchronization option, and custom attributes.

System_CAPS_pubmethodDefineDynamicAssembly(AssemblyName, AssemblyBuilderAccess, String, PermissionSet, PermissionSet, PermissionSet)

Obsolete. Defines a dynamic assembly using the specified name, access mode, storage directory, and permission requests.

System_CAPS_pubmethodDoCallBack(CrossAppDomainDelegate)

Executes the code in another application domain that is identified by the specified delegate.

System_CAPS_pubmethodEquals(Object)

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

System_CAPS_pubmethodExecuteAssembly(String)

Executes the assembly contained in the specified file.

System_CAPS_pubmethodExecuteAssembly(String, Evidence)

Obsolete. Executes the assembly contained in the specified file, using the specified evidence.

System_CAPS_pubmethodExecuteAssembly(String, Evidence, String[])

Obsolete. Executes the assembly contained in the specified file, using the specified evidence and arguments.

System_CAPS_pubmethodExecuteAssembly(String, Evidence, String[], Byte[], AssemblyHashAlgorithm)

Obsolete. Executes the assembly contained in the specified file, using the specified evidence, arguments, hash value, and hash algorithm.

System_CAPS_pubmethodExecuteAssembly(String, String[])

Executes the assembly contained in the specified file, using the specified arguments.

System_CAPS_pubmethodExecuteAssembly(String, String[], Byte[], AssemblyHashAlgorithm)

Executes the assembly contained in the specified file, using the specified arguments, hash value, and hash algorithm.

System_CAPS_pubmethodExecuteAssemblyByName(AssemblyName, Evidence, String[])

Obsolete. Executes the assembly given an AssemblyName, using the specified evidence and arguments.

System_CAPS_pubmethodExecuteAssemblyByName(AssemblyName, String[])

Executes the assembly given an AssemblyName, using the specified arguments.

System_CAPS_pubmethodExecuteAssemblyByName(String)

Executes an assembly given its display name.

System_CAPS_pubmethodExecuteAssemblyByName(String, Evidence)

Obsolete. Executes an assembly given its display name, using the specified evidence.

System_CAPS_pubmethodExecuteAssemblyByName(String, Evidence, String[])

Obsolete. Executes the assembly given its display name, using the specified evidence and arguments.

System_CAPS_pubmethodExecuteAssemblyByName(String, String[])

Executes the assembly given its display name, using the specified arguments.

System_CAPS_pubmethodGetAssemblies()

Gets the assemblies that have been loaded into the execution context of this application domain.

System_CAPS_pubmethodSystem_CAPS_staticGetCurrentThreadId()

Obsolete. Gets the current thread identifier.

System_CAPS_pubmethodGetData(String)

Gets the value stored in the current application domain for the specified name.

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetType()

Gets the type of the current instance.

System_CAPS_pubmethodInitializeLifetimeService()

Gives the AppDomain an infinite lifetime by preventing a lease from being created.(Overrides MarshalByRefObject.InitializeLifetimeService().)

System_CAPS_pubmethodIsCompatibilitySwitchSet(String)

Gets a nullable Boolean value that indicates whether any compatibility switches are set, and if so, whether the specified compatibility switch is set.

System_CAPS_pubmethodIsDefaultAppDomain()

Returns a value that indicates whether the application domain is the default application domain for the process.

System_CAPS_pubmethodIsFinalizingForUnload()

Indicates whether this application domain is unloading, and the objects it contains are being finalized by the common language runtime.

System_CAPS_pubmethodLoad(AssemblyName)

Loads an Assembly given its AssemblyName.

System_CAPS_pubmethodLoad(AssemblyName, Evidence)

Obsolete. Loads an Assembly given its AssemblyName.

System_CAPS_pubmethodLoad(Byte[])

Loads the Assembly with a common object file format (COFF) based image containing an emitted Assembly.

System_CAPS_pubmethodLoad(Byte[], Byte[])

Loads the Assembly with a common object file format (COFF) based image containing an emitted Assembly. The raw bytes representing the symbols for the Assembly are also loaded.

System_CAPS_pubmethodLoad(Byte[], Byte[], Evidence)

Obsolete. Loads the Assembly with a common object file format (COFF) based image containing an emitted Assembly. The raw bytes representing the symbols for the Assembly are also loaded.

System_CAPS_pubmethodLoad(String)

Loads an Assembly given its display name.

System_CAPS_pubmethodLoad(String, Evidence)

Obsolete. Loads an Assembly given its display name.

System_CAPS_pubmethodReflectionOnlyGetAssemblies()

Returns the assemblies that have been loaded into the reflection-only context of the application domain.

System_CAPS_pubmethodSetAppDomainPolicy(PolicyLevel)

Obsolete. Establishes the security policy level for this application domain.

System_CAPS_pubmethodSetCachePath(String)

Obsolete. Establishes the specified directory path as the location where assemblies are shadow copied.

System_CAPS_pubmethodSetData(String, Object)

Assigns the specified value to the specified application domain property.

System_CAPS_pubmethodSetData(String, Object, IPermission)

Assigns the specified value to the specified application domain property, with a specified permission to demand of the caller when the property is retrieved.

System_CAPS_pubmethodSetDynamicBase(String)

Obsolete. Establishes the specified directory path as the base directory for subdirectories where dynamically generated files are stored and accessed.

System_CAPS_pubmethodSetPrincipalPolicy(PrincipalPolicy)

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.

System_CAPS_pubmethodSetShadowCopyFiles()

Obsolete. Turns on shadow copying.

System_CAPS_pubmethodSetShadowCopyPath(String)

Obsolete. Establishes the specified directory path as the location of assemblies to be shadow copied.

System_CAPS_pubmethodSetThreadPrincipal(IPrincipal)

Sets the default principal object to be attached to threads if they attempt to bind to a principal while executing in this application domain.

System_CAPS_pubmethodToString()

Obtains a string representation that includes the friendly name of the application domain and any context policies.(Overrides Object.ToString().)

System_CAPS_pubmethodSystem_CAPS_staticUnload(AppDomain)

Unloads the specified application domain.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethod_AppDomain.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Maps a set of names to a corresponding set of dispatch identifiers.

System_CAPS_pubinterfaceSystem_CAPS_privmethod_AppDomain.GetTypeInfo(UInt32, UInt32, IntPtr)

Retrieves the type information for an object, which can then be used to get the type information for an interface.

System_CAPS_pubinterfaceSystem_CAPS_privmethod_AppDomain.GetTypeInfoCount(UInt32)

Retrieves the number of type information interfaces that an object provides (either 0 or 1).

System_CAPS_pubinterfaceSystem_CAPS_privmethod_AppDomain.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Provides access to properties and methods exposed by an object.

Return to top
Show: