AppDomainManager.CreateDomainHelper Method

Note: This method is new in the .NET Framework version 2.0.

Provides a helper method to create an application domain.

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

protected static AppDomain CreateDomainHelper (
	string friendlyName,
	Evidence securityInfo,
	AppDomainSetup appDomainInfo
)
protected static AppDomain CreateDomainHelper (
	String friendlyName, 
	Evidence securityInfo, 
	AppDomainSetup appDomainInfo
)
protected static function CreateDomainHelper (
	friendlyName : String, 
	securityInfo : Evidence, 
	appDomainInfo : AppDomainSetup
) : AppDomain

Parameters

friendlyName

The friendly name of the domain.

securityInfo

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

appDomainInfo

An AppDomainSetup object that contains application domain initialization information.

Return Value

A newly created AppDomain object.

Exception typeCondition

ArgumentNullException

friendlyName is a null reference (Nothing in Visual Basic).

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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: