Class TaskExtensions (4.10.0)

public static class TaskExtensions

Extension methods for tasks.

Inheritance

object > TaskExtensions

Namespace

Google.Api.Gax

Assembly

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