UnlockContext Method
Collapse the table of content
Expand the table of content

LicenseManager.UnlockContext Method (Object)

 

Allows changes to be made to the current LicenseContext of the given object.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public static void UnlockContext(
	object contextUser
)

Parameters

contextUser
Type: System.Object

The object whose current context you want to unlock.

Exception Condition
ArgumentException

contextUser represents a different user than the one specified in a previous call to LockContext.

Use the LicenseContext to get the License of an object. This method unlocks the LicenseContext, allowing the License to be retrieved.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft