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

Creates a new application domain.

Overload List

Creates a new application domain with the given name using, evidence, a set of context policies, and a set of property name/value pairs. The property name/value pairs are stored in the application domain's property bag. The GetData and the SetData methods can be used to respectively get and set the values of the properties.

[Visual Basic] Overloads Public Shared Function CreateDomain(String, Evidence, Object(), IDictionary) As AppDomain
[C#] public static AppDomain CreateDomain(String, Evidence, Object[], IDictionary);
[C++] public: static AppDomain* CreateDomain(String*, Evidence, Object[], IDictionary);
[JScript] public static function CreateDomain(String, Evidence, Object[], IDictionary) : AppDomain;

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(String, Evidence, Object()) As AppDomain
[C#] public static AppDomain CreateDomain(String, Evidence, Object[]);
[C++] public: static AppDomain* CreateDomain(String*, Evidence, Object[]);
[JScript] public static function CreateDomain(String, Evidence, Object[]) : AppDomain;

Creates a new application domain with the given name using, evidence, a set of context policies, application base path, relative search path, shared search path, snapshot ID, and a parameter that specifies whether a shadow copy of an assembly is to be loaded in to the application domain.

[Visual Basic] Overloads Public Shared Function CreateDomain(String, Evidence, Object(), String, String, String, Boolean, Long) As AppDomain
[C#] public static AppDomain CreateDomain(String, Evidence, Object[], String, String, String, bool, long);
[C++] public: static AppDomain* CreateDomain(String*, Evidence, Object[], String*, String*, String*, bool, __int64);
[JScript] public static function CreateDomain(String, Evidence, Object[], String, String, String, Boolean, long) : AppDomain;

See Also

AppDomain Class | AppDomain Members | System Namespace