ProxyBase.ContinueWith(Task<Object>) Method

Definition

This method is used by the generated proxy type and should be used directly. This method converts the Task with object return value to a Task without the return value for the void method invocation.

protected System.Threading.Tasks.Task ContinueWith (System.Threading.Tasks.Task<object> task);
member this.ContinueWith : System.Threading.Tasks.Task<obj> -> System.Threading.Tasks.Task
Protected Function ContinueWith (task As Task(Of Object)) As Task

Parameters

task
System.Threading.Tasks.Task<System.Object>

A task returned from the method that contains null return value.

Returns

System.Threading.Tasks.Task

A task that represents the asynchronous operation for remote method call without the return value.

Applies to