Saml2Id 构造函数 (String)

Creates a new ID whose value is the given string.

命名空间: Microsoft.IdentityModel.Tokens.Saml2
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)

用法

    Dim value As String

Dim instance As New Saml2Id(value)

语法

声明
Public Sub New ( _
    value As String _
)
public Saml2Id (
    string value
)
public:
Saml2Id (
    String^ value
)
public Saml2Id (
    String value
)
public function Saml2Id (
    value : String
)

参数

  • value
    The ID value.

异常

异常类型 条件
ArgumentException

The value is not a valid NCName.

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

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

请参见

参考

Saml2Id 类
Saml2Id 成员
Microsoft.IdentityModel.Tokens.Saml2 命名空间