ProxyBase.ContinueWithResultV2<TRetval> Method

Definition

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

protected System.Threading.Tasks.Task<TRetval> ContinueWithResultV2<TRetval> (int interfaceId, int methodId, System.Threading.Tasks.Task<Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingResponseMessageBody> task);
member this.ContinueWithResultV2 : int * int * System.Threading.Tasks.Task<Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingResponseMessageBody> -> System.Threading.Tasks.Task<'Retval>
Protected Function ContinueWithResultV2(Of TRetval) (interfaceId As Integer, methodId As Integer, task As Task(Of IServiceRemotingResponseMessageBody)) As Task(Of TRetval)

Type Parameters

TRetval

System.Type of the remote method return value.

Parameters

interfaceId
System.Int32

InterfaceId of the remoting interface.

methodId
System.Int32

MethodId of the remoting Method

task
System.Threading.Tasks.Task<IServiceRemotingResponseMessageBody>

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

Returns

System.Threading.Tasks.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