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.UriThe context, as a URI. This must be a properly formatted URI.
entityTypes
Type: []The EntityType entity types that are returned on the SPProviderHierarchyTree tree. If a null reference (Nothing in Visual Basic) then all types are returned.
resolveInput
Type: Microsoft.SharePoint.Administration.Claims.SPClaimA single claim input to be 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. |