Click or drag to resize

ArcGISPortalGetLoginTypeForUriAsync Method (Uri, CancellationToken)

Retrieves the PortalLoginType for the specified portal Uri.

Namespace:  Esri.ArcGISRuntime.Portal
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.9.0.0
Syntax
C#
public static Task<PortalLoginType> GetLoginTypeForUriAsync(
	Uri uri,
	CancellationToken cancellationToken
)

Parameters

uri
Type: SystemUri
The portal Uri
cancellationToken
Type: System.ThreadingCancellationToken
A CancellationToken with which to cancel the operation.

Return Value

Type: TaskPortalLoginType
The task object representing the asynchronous operation. The value of the task result is a PortalLoginType object.
See Also