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( _ ByVal friendlyName As String, _ ByVal securityInfo As Evidence, _ ByVal policies() As Object, _ ByVal properties As IDictionary _ ) As AppDomain [C#] public static AppDomain CreateDomain( string friendlyName, Evidence securityInfo, object[] policies, IDictionary properties ); [C++] public: static AppDomain* CreateDomain( String* friendlyName, Evidence* securityInfo, Object* policies[], IDictionary* properties ); [JScript] public static function CreateDomain( friendlyName : String, securityInfo : Evidence, policies : Object[], properties : IDictionary ) : AppDomain;
The newly created application domain.
AppDomain Class | AppDomain Members | System Namespace | AppDomain.CreateDomain Overload List