LicenseProvider.GetLicense メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > LicenseProvider.GetLicense メソッドの意味・解説 

LicenseProvider.GetLicense メソッド

派生クラスオーバーライドされた場合コンテキストと、ライセンス拒否され場合例外スローされるかどうか指定されたときに、コンポーネントインスタンスまたは型に対すライセンス取得します

名前空間: System.ComponentModel
アセンブリ: System (system.dll 内)
構文構文

Public MustOverride Function
 GetLicense ( _
    context As LicenseContext, _
    type As Type, _
    instance As Object, _
    allowExceptions As Boolean _
) As License
Dim instance As LicenseProvider
Dim context As LicenseContext
Dim type As Type
Dim instance As Object
Dim allowExceptions As Boolean
Dim returnValue As License

returnValue = instance.GetLicense(context, type, instance, allowExceptions)
public abstract License GetLicense (
    LicenseContext context,
    Type type,
    Object instance,
    bool allowExceptions
)
public:
virtual License^ GetLicense (
    LicenseContext^ context, 
    Type^ type, 
    Object^ instance, 
    bool allowExceptions
) abstract
public abstract License GetLicense (
    LicenseContext context, 
    Type type, 
    Object instance, 
    boolean allowExceptions
)
public abstract function GetLicense (
    context : LicenseContext, 
    type : Type, 
    instance : Object, 
    allowExceptions : boolean
) : License

パラメータ

context

ライセンス付きオブジェクト使用できる位置指定する LicenseContext。

type

ライセンス要求しているコンポーネントを表す Type

instance

ライセンス要求しているオブジェクト

allowExceptions

コンポーネントライセンス与えられなかったときに LicenseException をスローする必要がある場合trueそれ以外場合false

戻り値
有効な License

解説解説

継承時の注意 LicenseProvider から継承する場合は、GetLicenseオーバーライドして、ライセンス キー対す検証メソッド実装する必要があります

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
LicenseProvider クラス
LicenseProvider メンバ
System.ComponentModel 名前空間
Dispose
License クラス
LicenseContext クラス
LicenseException クラス
LicenseManager クラス
LicenseProvider クラス
LicenseProviderAttribute
LicFileLicenseProvider
LicenseUsageMode



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「LicenseProvider.GetLicense メソッド」の関連用語

LicenseProvider.GetLicense メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



LicenseProvider.GetLicense メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS