LicenseManager.CurrentContext プロパティ

定義

現在の LicenseContextを取得または設定します。ライセンスされたオブジェクトを使用できるタイミングを指定します。

public:
 static property System::ComponentModel::LicenseContext ^ CurrentContext { System::ComponentModel::LicenseContext ^ get(); void set(System::ComponentModel::LicenseContext ^ value); };
public static System.ComponentModel.LicenseContext CurrentContext { get; set; }
static member CurrentContext : System.ComponentModel.LicenseContext with get, set
Public Shared Property CurrentContext As LicenseContext

プロパティ値

ライセンスされたオブジェクトを使用できるタイミングを指定する LicenseContext

例外

CurrentContext プロパティは現在ロックされており、変更できません。

注釈

ユーザーが有効な Licenseを要求した場合、ユーザーは、 License が有効なコンテキストを LicenseProvider.GetLicense メソッドに渡す必要があります。 このプロパティによって返される LicenseContext は、すべての LicenseProvider クラスに渡す必要があります。

適用対象

こちらもご覧ください