NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

AppDomain.CreateDomain (String, Evidence, Object[])

Creates a new application domain with the given name using the supplied evidence and a set of context policies.

[Visual Basic]
Overloads Public Shared Function CreateDomain( _
   ByVal friendlyName As String, _
   ByVal securityInfo As Evidence, _
   ByVal policies() As Object _
) As AppDomain
[C#]
public static AppDomain CreateDomain(
   string friendlyName,
   Evidence securityInfo,
   object[] policies
);
[C++]
public: static AppDomain* CreateDomain(
   String* friendlyName,
   Evidence* securityInfo,
   Object* policies[]
);
[JScript]
public static function CreateDomain(
   friendlyName : String,
   securityInfo : Evidence,
   policies : Object[]
) : AppDomain;

Parameters

friendlyName
The friendly name of the domain. This friendly name can be displayed in user interfaces to identify the domain. See the description of FriendlyName.
securityInfo
An optional array of Evidence objects representing evidence that is mapped through security policy to establish a top-of-stack permission set.
policies
An optional array of context policies to be added to the basic policies of the domain.

Return Value

The newly created application domain.

See Also

AppDomain Class | AppDomain Members | System Namespace | AppDomain.CreateDomain Overload List