PublicOrleansTaskExtensions.Unbox<T>(Task<Object>) 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.
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
Returns
Task<T>