DisplayClaim Constructor (String, String, String)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the DisplayClaim class that has the specified claim type, display name, and description.

Namespace:   System.IdentityModel.Metadata
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public DisplayClaim(
	string claimType,
	string displayTag,
	string description
)

Parameters

claimType
Type: System.String

The claim type for the display claim. Initializes the ClaimType property.

displayTag
Type: System.String

The display name (or friendly name) for the display claim. Initializes the DisplayTag property.

description
Type: System.String

The description for the display claim. Initializes the Description property.

Exception Condition
ArgumentNullException

claimType is null or an empty string.

.NET Framework
Available since 4.5
Return to top
Show: