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