Creates a Claim with the specified type and value. The Claim has a local authority issuer and no subject.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim claimType As String
Dim value As String
Dim valueType As String

Dim instance As New Claim(claimType, value, valueType)

Syntax

Visual Basic
Public Sub New ( _
		claimType As String, _
		value As String, _
		valueType As String _
)
C#
public Claim (
		string claimType,
		string value,
		string valueType
)
C++
public:
Claim (
		String^ claimType, 
		String^ value, 
		String^ valueType
)
J#
public Claim (
		String claimType, 
		String value, 
		String valueType
)
JScript
public function Claim (
		claimType : String, 
		value : String, 
		valueType : String
)

Parameters

claimType
value

The Claim Value.

valueType

The ClaimValueType of the Claim resource.

Remarks

P:Microsoft.IdentityModel.Claims.Claim.Issuer is set to F:Microsoft.IdentityModel.Claims.ClaimsIdentity.DefaultIssuer. P:Microsoft.IdentityModel.Claims.Claim.OriginalIssuer is set to F:Microsoft.IdentityModel.Claims.ClaimsIdentity.DefaultIssuer. P:Microsoft.IdentityModel.Claims.Claim.Subject is set to null.


Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also