Lingua

AsyncTask.GetAsync Method

Definition

Overloads

Name Description
GetAsync()

Asynchronously performs the corresponding operation.

GetAsync(Int64, TimeUnit)

Asynchronously performs the corresponding operation.

GetAsync()

Asynchronously performs the corresponding operation.

public System.Threading.Tasks.Task<Java.Lang.Object?> GetAsync();
member this.GetAsync : unit -> System.Threading.Tasks.Task<Java.Lang.Object>

Returns

A task that completes with the result.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

GetAsync(Int64, TimeUnit)

Asynchronously performs the corresponding operation.

public System.Threading.Tasks.Task<Java.Lang.Object?> GetAsync(long timeout, Java.Util.Concurrent.TimeUnit? unit);
member this.GetAsync : int64 * Java.Util.Concurrent.TimeUnit -> System.Threading.Tasks.Task<Java.Lang.Object>

Parameters

timeout
Int64

The timeout for the operation.

unit
TimeUnit

The time unit for the timeout.

Returns

A task that completes with the result.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to