共用方式為


SPClaim Constructor

Initializes a new instance of a SharePoint claim object by using the specified type, value, value type, and original issuer.

Namespace:  Microsoft.SharePoint.Administration.Claims
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    type As String, _
    value As String, _
    valueType As String, _
    originalIssuer As String _
)
'Usage
Dim type As String
Dim value As String
Dim valueType As String
Dim originalIssuer As String

Dim instance As New SPClaim(type, value, _
    valueType, originalIssuer)
public SPClaim(
    string type,
    string value,
    string valueType,
    string originalIssuer
)

Parameters

Exceptions

Exception Condition
[ArgumentNullException]

Thrown when any parameter is a null reference (Nothing in Visual Basic).

[ArgumentException]

Thrown when valueType or originalIssuer are empty.

See Also

Reference

SPClaim Class

SPClaim Members

Microsoft.SharePoint.Administration.Claims Namespace