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!

LicenseManager.CreateWithContext

Creates an instance of the specified type.

Overload List

Creates an instance of the specified type with the specified args, using creationContext as the context in which the licensed instance can be used.

[Visual Basic] Overloads Public Shared Function CreateWithContext(Type, LicenseContext, Object()) As Object
[C#] public static object CreateWithContext(Type, LicenseContext, Object[]);
[C++] public: static Object* CreateWithContext(Type*, LicenseContext, Object[]);
[JScript] public static function CreateWithContext(Type, LicenseContext, Object[]) : Object;

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(Type, LicenseContext) As Object
[C#] public static object CreateWithContext(Type, LicenseContext);
[C++] public: static Object* CreateWithContext(Type*, LicenseContext);
[JScript] public static function CreateWithContext(Type, LicenseContext) : Object;

See Also

LicenseManager Class | LicenseManager Members | System.ComponentModel Namespace