指定した型にライセンスを与えることができるかどうかを判断します。
Overloads Public Shared Sub Validate( _
ByVal type As Type _)
[C#]
public static void Validate(Typetype);
[C++]
public: static void Validate(Type* type);
[JScript]
public static function Validate(
type : Type);
パラメータ
- type
ライセンスを要求するオブジェクトの型を表す Type 。
例外
| 例外の種類 | 条件 |
|---|---|
| LicenseException | License を与えることができません。 |
解説
有効な License を与えることができない場合、このメソッドは LicenseException をスローします。 IsValid は例外をスローしません。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
LicenseManager クラス | LicenseManager メンバ | System.ComponentModel 名前空間 | LicenseManager.Validate オーバーロードの一覧 | License | LicenseContext | LicenseException | LicenseProvider | LicenseProviderAttribute | LicFileLicenseProvider | LicenseUsageMode