Export (0) Print
Expand All

AppDomainManager.CreateDomainHelper Method

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
Not applicable.

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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft