แก้ไข

แชร์ผ่าน


LocalIdKeyIdentifierClause Constructors

Definition

Initializes a new instance of the LocalIdKeyIdentifierClause class.

Overloads

LocalIdKeyIdentifierClause(String)

Initializes a new instance of the LocalIdKeyIdentifierClause class using the specified identifier and array of types.

LocalIdKeyIdentifierClause(String, Type)

Initializes a new instance of the LocalIdKeyIdentifierClause class using the specified identifier an owner security token type.

LocalIdKeyIdentifierClause(String, Byte[], Int32, Type)

Initializes a new instance of the LocalIdKeyIdentifierClause class using the specified identifier, nonce, derived key length an owner security token type.

LocalIdKeyIdentifierClause(String)

Source:
LocalIdKeyIdentifierClause.cs
Source:
LocalIdKeyIdentifierClause.cs

Initializes a new instance of the LocalIdKeyIdentifierClause class using the specified identifier and array of types.

public:
 LocalIdKeyIdentifierClause(System::String ^ localId);
public LocalIdKeyIdentifierClause (string localId);
new System.IdentityModel.Tokens.LocalIdKeyIdentifierClause : string -> System.IdentityModel.Tokens.LocalIdKeyIdentifierClause
Public Sub New (localId As String)

Parameters

localId
String

The value of the wsu:Id attribute for an XML element within the current SOAP message. Sets the value of the LocalId property.

Exceptions

localId is null.

localId is empty.

Applies to

LocalIdKeyIdentifierClause(String, Type)

Source:
LocalIdKeyIdentifierClause.cs
Source:
LocalIdKeyIdentifierClause.cs

Initializes a new instance of the LocalIdKeyIdentifierClause class using the specified identifier an owner security token type.

public:
 LocalIdKeyIdentifierClause(System::String ^ localId, Type ^ ownerType);
public LocalIdKeyIdentifierClause (string localId, Type ownerType);
new System.IdentityModel.Tokens.LocalIdKeyIdentifierClause : string * Type -> System.IdentityModel.Tokens.LocalIdKeyIdentifierClause
Public Sub New (localId As String, ownerType As Type)

Parameters

localId
String

The value of the wsu:Id attribute for an XML element within the current SOAP message. Sets the value of the LocalId property.

ownerType
Type

A Type that is the type of security token that is referred to by the localId parameter. Sets the value of the OwnerType property.

Exceptions

localId is null.

localId is empty.

Applies to

LocalIdKeyIdentifierClause(String, Byte[], Int32, Type)

Source:
LocalIdKeyIdentifierClause.cs
Source:
LocalIdKeyIdentifierClause.cs

Initializes a new instance of the LocalIdKeyIdentifierClause class using the specified identifier, nonce, derived key length an owner security token type.

public:
 LocalIdKeyIdentifierClause(System::String ^ localId, cli::array <System::Byte> ^ derivationNonce, int derivationLength, Type ^ ownerType);
public LocalIdKeyIdentifierClause (string localId, byte[] derivationNonce, int derivationLength, Type ownerType);
new System.IdentityModel.Tokens.LocalIdKeyIdentifierClause : string * byte[] * int * Type -> System.IdentityModel.Tokens.LocalIdKeyIdentifierClause
Public Sub New (localId As String, derivationNonce As Byte(), derivationLength As Integer, ownerType As Type)

Parameters

localId
String

The value of the wsu:Id attribute for an XML element within the current SOAP message. Sets the value of the LocalId property.

derivationNonce
Byte[]

An array of Byte that contains the nonce that was used to create a derived key. Sets the value that is returned by the GetDerivationNonce() method.

derivationLength
Int32

The size of the derived key. Sets the value of the DerivationLength property.

ownerType
Type

A Type that is the type of security token that is referred to by the localId parameter. Sets the value of the OwnerType property.

Exceptions

localId is null.

localId is empty.

Remarks

Windows Communication Foundation (WCF) does not support the creation of implied derived key identifiers. However, WCF will process and consume an incoming SOAP message with implied derived key identifiers.

Applies to