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
public Task<string> GetUniqueIDAsync()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.String> |
Implements
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
public 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> |
Implements
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
public 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 |
Implements
Remarks
This unique identifier can be used for logging purposes.