Creates a new ID whose value is the given string.
Namespace: Microsoft.IdentityModel.Tokens.Saml2
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim value As String

Dim instance As New Saml2Id(value)

Syntax

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

Parameters

value

The ID value.

Exceptions

Exception type Condition
ArgumentException

The value is not a valid NCName.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also