LicenseManager.UnlockContext(Object) 方法

定义

允许对给定对象当前的 LicenseContext 进行更改。

public:
 static void UnlockContext(System::Object ^ contextUser);
public static void UnlockContext (object contextUser);
static member UnlockContext : obj -> unit
Public Shared Sub UnlockContext (contextUser As Object)

参数

contextUser
Object

要取消锁定其当前上下文的对象。

例外

contextUser 不表示在前面对 LockContext(Object) 的调用中指定的用户,而表示另外一个用户。

注解

LicenseContext使用该对象获取License对象。 此方法可 LicenseContext解锁允许 License 检索该命令。

适用于