Edit

Share via


PublicOrleansTaskExtensions.Unbox<T>(Task<Object>) Method

Definition

Returns a Task<TResult> for the provided Task<TResult>.

public static System.Threading.Tasks.Task<T> Unbox<T> (this System.Threading.Tasks.Task<object> task);
static member Unbox : System.Threading.Tasks.Task<obj> -> System.Threading.Tasks.Task<'T>
<Extension()>
Public Function Unbox(Of T) (task As Task(Of Object)) As Task(Of T)

Type Parameters

T

The underlying type of task.

Parameters

task
Task<Object>

The task.

Returns

Task<T>

Applies to