AsyncTask.GetAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.