Share via


SPClaimProvider.Resolve method (Uri, String[], SPClaim)

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 SPClaim _
) As PickerEntity()
'Usage
Dim instance As SPClaimProvider
Dim context As Uri
Dim entityTypes As String()
Dim resolveInput As SPClaim
Dim returnValue As PickerEntity()

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

Parameters

  • context
    Type: System.Uri

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

  • entityTypes
    Type: []

    The [P:HYPERLINK"mk:@MSITStore:D:\\\\aSDK\\\\SP2010SDK.chm::/html/a4bf54d0-29e5-e5c2-231e-b1b9f4728a7f.htm"Microsoft.SharePoint.WebControls.PickerEntity.EntityType] entity types that are returned on the SPProviderHierarchyTree tree. If a null reference (Nothing in Visual Basic) then all types are returned.

Return value

Type: []
A set of PickerEntity matching the input. The [P:HYPERLINK"mk:@MSITStore:D:\\\\aSDK\\\\SP2010SDK.chm::/html/a4bf54d0-29e5-e5c2-231e-b1b9f4728a7f.htm"Microsoft.SharePoint.WebControls.PickerEntity.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