AppDomain::CreateDomain Method

 

Creates a new application domain.

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

NameDescription
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^, array<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^, array<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.

Return to top
Show: