次の方法で共有


DesigntimeLicenseContext クラス

デザイン時にライセンス プロバイダをサポートできるデザイン時ライセンス コンテキストを表します。

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

構文

'宣言
Public Class DesigntimeLicenseContext
    Inherits LicenseContext
'使用
Dim instance As DesigntimeLicenseContext
public class DesigntimeLicenseContext : LicenseContext
public ref class DesigntimeLicenseContext : public LicenseContext
public class DesigntimeLicenseContext extends LicenseContext
public class DesigntimeLicenseContext extends LicenseContext

解説

このクラスは、関連付けられたコンテキストのライセンス キーを管理するためのメソッドと、関連付けられたコンテキストのライセンス使用モードを表すためのプロパティを提供します。

注意

このクラスに適用される HostProtectionAttribute 属性の Resources プロパティの値は、SharedState です。HostProtectionAttribute は、デスクトップ アプリケーション (一般的には、アイコンをダブルクリック、コマンドを入力、またはブラウザに URL を入力して起動するアプリケーション) には影響しません。詳細については、HostProtectionAttribute クラスのトピックまたは「SQL Server プログラミングとホスト保護属性」を参照してください。

.NET Framework のセキュリティ

継承階層

System.Object
   System.ComponentModel.LicenseContext
    System.ComponentModel.Design.DesigntimeLicenseContext

スレッド セーフ

この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

プラットフォーム

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。

バージョン情報

.NET Framework

サポート対象 : 2.0、1.1、1.0

参照

関連項目

DesigntimeLicenseContext メンバ
System.ComponentModel.Design 名前空間
LicenseContext クラス
LicenseProvider クラス
LicenseUsageMode 列挙体
DesigntimeLicenseContextSerializer