Muokkaa

Jaa


RequestClaim Constructors

Definition

Initializes a new instance of the RequestClaim class.

Overloads

RequestClaim(String)

Initializes a new instance of the RequestClaim class with the specified claim type.

RequestClaim(String, Boolean)

Initializes a new instance of the RequestClaim class with the specified claim type and a value that indicates whether the claim is optional.

RequestClaim(String, Boolean, String)

Initializes a new instance of the RequestClaim class with the specified claim type, claim value, and a value that indicates whether the claim is optional.

RequestClaim(String)

Initializes a new instance of the RequestClaim class with the specified claim type.

public:
 RequestClaim(System::String ^ claimType);
public RequestClaim (string claimType);
new System.IdentityModel.Protocols.WSTrust.RequestClaim : string -> System.IdentityModel.Protocols.WSTrust.RequestClaim
Public Sub New (claimType As String)

Parameters

claimType
String

The URI that represents the claim type.

Remarks

The IsOptional property is set to false and the Value property is set to null in the new RequestClaim instance. This constructor creates a RequestClaim object that represents a request for a claim that is required in the response.

Applies to

RequestClaim(String, Boolean)

Initializes a new instance of the RequestClaim class with the specified claim type and a value that indicates whether the claim is optional.

public:
 RequestClaim(System::String ^ claimType, bool isOptional);
public RequestClaim (string claimType, bool isOptional);
new System.IdentityModel.Protocols.WSTrust.RequestClaim : string * bool -> System.IdentityModel.Protocols.WSTrust.RequestClaim
Public Sub New (claimType As String, isOptional As Boolean)

Parameters

claimType
String

The URI that represents the claim type.

isOptional
Boolean

true if the claim is optional in the response; otherwise, false.

Remarks

The Value property is set to null in the new RequestClaim instance.

Applies to

RequestClaim(String, Boolean, String)

Initializes a new instance of the RequestClaim class with the specified claim type, claim value, and a value that indicates whether the claim is optional.

public:
 RequestClaim(System::String ^ claimType, bool isOptional, System::String ^ value);
public RequestClaim (string claimType, bool isOptional, string value);
new System.IdentityModel.Protocols.WSTrust.RequestClaim : string * bool * string -> System.IdentityModel.Protocols.WSTrust.RequestClaim
Public Sub New (claimType As String, isOptional As Boolean, value As String)

Parameters

claimType
String

The URI that represents the claim type.

isOptional
Boolean

true if the claim is optional in the response; otherwise, false.

value
String

The value of the claim.

Applies to