SPClaim constructor
使用指定的類型、 值、 值類型及原始簽發者初始化 SharePoint 宣告物件的新執行個體。
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub New ( _
type As String, _
value As String, _
valueType As String, _
originalIssuer As String _
)
'用途
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
)
參數
type
Type: System.String宣告類型。
value
Type: System.String宣告值。
valueType
Type: System.String宣告值類型。
originalIssuer
Type: System.String原始的發行者。
Exceptions
Exception | Condition |
---|---|
[ArgumentNullException] | 當任何參數,則a null reference (Nothing in Visual Basic)擲回。 |
[ArgumentException] | 擲回何時valueType或originalIssuer是空的。 |