ProxyBase.ContinueWithResult<TRetval>(Int32, Int32, Task<Object>) Method

Definition

Called by the generated proxy class to get the result from the response body.

protected System.Threading.Tasks.Task<TRetval> ContinueWithResult<TRetval> (int interfaceId, int methodId, System.Threading.Tasks.Task<object> task);
member this.ContinueWithResult : int * int * System.Threading.Tasks.Task<obj> -> System.Threading.Tasks.Task<'Retval>
Protected Function ContinueWithResult(Of TRetval) (interfaceId As Integer, methodId As Integer, task As Task(Of Object)) As Task(Of TRetval)

Type Parameters

TRetval

Type of the remote method return value.

Parameters

interfaceId
Int32

Interface Id for the remoted interface.

methodId
Int32

Method Id for the remote method.

task
Task<Object>

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

Returns

Task<TRetval>

A task that represents the asynchronous operation for remote method call. The value of the TRetval contains the remote method return value.

Applies to