편집

다음을 통해 공유


AppDomainManager.CreateDomainHelper(String, Evidence, AppDomainSetup) Method

Definition

Provides a helper method to create an application domain.

protected:
 static AppDomain ^ CreateDomainHelper(System::String ^ friendlyName, System::Security::Policy::Evidence ^ securityInfo, AppDomainSetup ^ appDomainInfo);
protected static AppDomain CreateDomainHelper (string friendlyName, System.Security.Policy.Evidence securityInfo, AppDomainSetup appDomainInfo);
[System.Security.SecurityCritical]
protected static AppDomain CreateDomainHelper (string friendlyName, System.Security.Policy.Evidence securityInfo, AppDomainSetup appDomainInfo);
static member CreateDomainHelper : string * System.Security.Policy.Evidence * AppDomainSetup -> AppDomain
[<System.Security.SecurityCritical>]
static member CreateDomainHelper : string * System.Security.Policy.Evidence * AppDomainSetup -> AppDomain
Protected Shared Function CreateDomainHelper (friendlyName As String, securityInfo As Evidence, appDomainInfo As AppDomainSetup) As AppDomain

Parameters

friendlyName
String

The friendly name of the domain.

securityInfo
Evidence

An object that contains evidence mapped through the security policy to establish a top-of-stack permission set.

appDomainInfo
AppDomainSetup

An object that contains application domain initialization information.

Returns

A newly created application domain.

Attributes

Exceptions

friendlyName is null.

Remarks

This protected helper method handles the creation of a new application domain.

This friendly name, specified by the friendlyName parameter, can be displayed in user interfaces to identify the domain. For more information, see the FriendlyName property.

Applies to