Export (0) Print
Expand All

Claim Constructor (String, String)

.NET Framework 4.5

Initializes a new instance of the Claim class with the specified claim type, and value.

Namespace:  System.Security.Claims
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Public Sub New ( _
	type As String, _
	value As String _
)

Parameters

type
Type: System.String

The claim type.

value
Type: System.String

The claim value.

ExceptionCondition
ArgumentNullException

type or value is Nothing.

The Subject property is set to Nothing. The Issuer and OriginalIssuer properties are set to DefaultIssuer. The ValueType property is set to ClaimValueTypes.String

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft