Skip to main content Skip to complementary content

GetUniqueIDAsync Method

Overloads

GetUniqueIDAsync()

Returns the unique identifier of the endpoint for the current user in the current app.

GetUniqueIDAsync(AsyncHandle)

Returns the unique identifier of the endpoint for the current user in the current app.

GetUniqueIDAsync<T>(AsyncHandle, Func<Response, T>)

Returns the unique identifier of the endpoint for the current user in the current app.

GetUniqueIDAsync()

Returns the unique identifier of the endpoint for the current user in the current app.

Declaration

      Task<string> GetUniqueIDAsync()
    

Returns

Type Description
System.Threading.Tasks.Task<System.String>

Remarks

This unique identifier can be used for logging purposes.

GetUniqueIDAsync(AsyncHandle)

Returns the unique identifier of the endpoint for the current user in the current app.

Declaration

      Task<string> GetUniqueIDAsync(AsyncHandle asyncHandle)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

Returns

Type Description
System.Threading.Tasks.Task<System.String>

Remarks

This unique identifier can be used for logging purposes.

GetUniqueIDAsync<T>(AsyncHandle, Func<Response, T>)

Returns the unique identifier of the endpoint for the current user in the current app.

Declaration

      Task<T> GetUniqueIDAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

System.Func<Response, T> onResult

Continuation function

Returns

Type Description
System.Threading.Tasks.Task<T>

Type Parameters

Name Description
T

Remarks

This unique identifier can be used for logging purposes.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!