public static class TaskExtensionsExtension methods for tasks.
Namespace
Google.Api.GaxAssembly
Google.Api.Gax.dll
Methods
ResultWithUnwrappedExceptions<T>(Task<T>)
public static T ResultWithUnwrappedExceptions<T>(this Task<T> task)Synchronously waits for the given task to complete, and returns the result. Any AggregateException thrown is unwrapped to the first inner exception.
| Parameter | |
|---|---|
| Name | Description |
task |
|