共用方式為


SPClaimProvider.Resolve Method (Uri, String , String)

Resolves the input.

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

Syntax

'Declaration
Public Function Resolve ( _
    context As Uri, _
    entityTypes As String(), _
    resolveInput As String _
) As PickerEntity()
'Usage
Dim instance As SPClaimProvider
Dim context As Uri
Dim entityTypes As String()
Dim resolveInput As String
Dim returnValue As PickerEntity()

returnValue = instance.Resolve(context, _
    entityTypes, resolveInput)
public PickerEntity[] Resolve(
    Uri context,
    string[] entityTypes,
    string resolveInput
)

Parameters

  • context
    Type: System.Uri

    The context, as a URI. This must be a properly formatted URI.

  • resolveInput
    Type: System.String

    The input that is currently being resolved.

Return Value

Type: []
A set of PickerEntity matching the input. The EntityType property value must be found in the result of EntityType().

Exceptions

Exception Condition
ArgumentNullException

Thrown when context or resolveInputis a null reference (Nothing in Visual Basic).

NotImplementedException

Thrown when SupportsResolve is false.

See Also

Reference

SPClaimProvider Class

SPClaimProvider Members

Resolve Overload

Microsoft.SharePoint.Administration.Claims Namespace