RequestClaim Constructor (String, Boolean)

.NET Framework (current version)

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

Namespace:   System.IdentityModel.Protocols.WSTrust
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public RequestClaim(
	string claimType,
	bool isOptional


Type: System.String

The URI that represents the claim type.

Type: System.Boolean

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

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

.NET Framework
Available since 4.5
Return to top