Creates an instance of the specified type, using creationContext as the context in which the licensed instance can be used.
[Visual Basic] Overloads Public Shared Function CreateWithContext( _ ByVal type As Type, _ ByVal creationContext As LicenseContext _ ) As Object [C#] public static object CreateWithContext( Type type, LicenseContext creationContext ); [C++] public: static Object* CreateWithContext( Type* type, LicenseContext* creationContext ); [JScript] public static function CreateWithContext( type : Type, creationContext : LicenseContext ) : Object;
An instance of the specified type, using creationContext as the LicenseContext.
This method makes creationContext the CurrentContext for the duration of the construction. This method blocks all other threads in the AppDomain from modifying the CurrentContext, allowing CreateWithContext to behave as an atomic operation.
LicenseManager Class | LicenseManager Members | System.ComponentModel Namespace | LicenseManager.CreateWithContext Overload List | License | LicenseContext | LicenseException | LicenseProvider | LicenseProviderAttribute | LicFileLicenseProvider | LicenseUsageMode