ContextItem コンストラクター

定義

ContextItem クラスの新しいインスタンスを初期化します。

オーバーロード

ContextItem(Uri)

指定した名前 URI を使用して、ContextItem クラスの新しいインスタンスを初期化します。

ContextItem(Uri, String)

指定した名前 URI と値を使用して、ContextItem クラスの新しいインスタンスを初期化します。

ContextItem(Uri, String, Uri)

指定した名前 URI、値、およびスコープ URI を使用して、ContextItem クラスの新しいインスタンスを初期化します。

ContextItem(Uri)

指定した名前 URI を使用して、ContextItem クラスの新しいインスタンスを初期化します。

public:
 ContextItem(Uri ^ name);
public ContextItem (Uri name);
new System.IdentityModel.Protocols.WSTrust.ContextItem : Uri -> System.IdentityModel.Protocols.WSTrust.ContextItem
Public Sub New (name As Uri)

パラメーター

name
Uri

コンテキスト項目名を示す Uri

例外

namenullです。

name は絶対パスではありません。

注釈

プロパティと Scope プロパティはValue、新しいインスタンスで にnull設定されます。

適用対象

ContextItem(Uri, String)

指定した名前 URI と値を使用して、ContextItem クラスの新しいインスタンスを初期化します。

public:
 ContextItem(Uri ^ name, System::String ^ value);
public ContextItem (Uri name, string value);
new System.IdentityModel.Protocols.WSTrust.ContextItem : Uri * string -> System.IdentityModel.Protocols.WSTrust.ContextItem
Public Sub New (name As Uri, value As String)

パラメーター

name
Uri

コンテキスト項目名を示す Uri

value
String

コンテキスト項目値。 null の可能性があります。

例外

namenullです。

name は絶対パスではありません。

注釈

プロパティは Scope 、新しいインスタンスで に null 設定されます。

適用対象

ContextItem(Uri, String, Uri)

指定した名前 URI、値、およびスコープ URI を使用して、ContextItem クラスの新しいインスタンスを初期化します。

public:
 ContextItem(Uri ^ name, System::String ^ value, Uri ^ scope);
public ContextItem (Uri name, string value, Uri scope);
new System.IdentityModel.Protocols.WSTrust.ContextItem : Uri * string * Uri -> System.IdentityModel.Protocols.WSTrust.ContextItem
Public Sub New (name As Uri, value As String, scope As Uri)

パラメーター

name
Uri

コンテキスト項目名を示す Uri

value
String

コンテキスト項目値。 null の可能性があります。

scope
Uri

コンテキスト項目のスコープ。 null の可能性があります。

例外

namenullです。

name は絶対パスではありません。

- または -

scopenull ではなく、絶対 URI でもありません。

適用対象