AppDomainManager.CreateDomainHelper(String, Evidence, AppDomainSetup) Method

Definition

Provides a helper method to create an application domain.

C#
protected static AppDomain CreateDomainHelper(string friendlyName, System.Security.Policy.Evidence securityInfo, AppDomainSetup appDomainInfo);
C#
[System.Security.SecurityCritical]
protected static AppDomain CreateDomainHelper(string friendlyName, System.Security.Policy.Evidence securityInfo, AppDomainSetup appDomainInfo);

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

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1