LicenseManager::LockContext Method (Object^)
.NET Framework (current version)
Prevents changes being made to the current LicenseContext of the given object.
Assembly: System (in System.dll)
Parameters
- contextUser
-
Type:
System::Object^
The object whose current context you want to lock.
| Exception | Condition |
|---|---|
| InvalidOperationException | The context is already locked. |
Use the LicenseContext to get the License of an object. This method locks the LicenseContext, preventing the License from being retrieved.
.NET Framework
Available since 1.1
Available since 1.1
Show: