Udostępnij za pośrednictwem


ContextItem Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy ContextItem.

Przeciążenia

Nazwa Opis
ContextItem(Uri)

Inicjuje nowe wystąpienie ContextItem klasy przy użyciu określonego identyfikatora URI nazwy.

ContextItem(Uri, String)

Inicjuje nowe wystąpienie ContextItem klasy z określonym identyfikatorem URI nazwy i wartością.

ContextItem(Uri, String, Uri)

Inicjuje nowe wystąpienie ContextItem klasy przy użyciu określonego identyfikatora URI, wartości i identyfikatora URI zakresu.

ContextItem(Uri)

Inicjuje nowe wystąpienie ContextItem klasy przy użyciu określonego identyfikatora URI nazwy.

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)

Parametry

name
Uri

Element Uri wskazujący nazwę elementu kontekstu.

Wyjątki

Parametr name ma wartość null.

name nie jest bezwzględnym identyfikatorem URI.

Uwagi

Właściwość Value i Scope właściwość są ustawione null na w nowym wystąpieniu.

Dotyczy

ContextItem(Uri, String)

Inicjuje nowe wystąpienie ContextItem klasy z określonym identyfikatorem URI nazwy i wartością.

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)

Parametry

name
Uri

Element Uri wskazujący nazwę elementu kontekstu.

value
String

Wartość elementu kontekstu. Może to być null.

Wyjątki

Parametr name ma wartość null.

name nie jest bezwzględnym identyfikatorem URI.

Uwagi

Właściwość jest ustawiona Scope na null wartość w nowym wystąpieniu.

Dotyczy

ContextItem(Uri, String, Uri)

Inicjuje nowe wystąpienie ContextItem klasy przy użyciu określonego identyfikatora URI, wartości i identyfikatora URI zakresu.

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)

Parametry

name
Uri

Element Uri wskazujący nazwę elementu kontekstu.

value
String

Wartość elementu kontekstu. Może to być null.

scope
Uri

Zakres elementu kontekstu. Może to być null.

Wyjątki

Parametr name ma wartość null.

name nie jest bezwzględnym identyfikatorem URI.

— lub —

scope nie null jest i nie jest bezwzględnym identyfikatorem URI.

Dotyczy