Skip to main content Skip to complementary content

GetActiveDocAsync Method

Overloads

GetActiveDocAsync()

Returns the handle of the current app.

GetActiveDocAsync(AsyncHandle)

Returns the handle of the current app.

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

Returns the handle of the current app.

GetActiveDocAsync()

Returns the handle of the current app.

Declaration

      Task<App> GetActiveDocAsync()
    

Returns

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

GetActiveDocAsync(AsyncHandle)

Returns the handle of the current app.

Declaration

      Task<App> GetActiveDocAsync(AsyncHandle asyncHandle)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

Returns

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

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

Returns the handle of the current app.

Declaration

      Task<T> GetActiveDocAsync<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

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!