Udostępnij za pośrednictwem


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

Type of the remote method return value.

Parameters

interfaceId
Int32

InterfaceId of the remoting interface.

methodId
Int32

MethodId of the remoting Method

task
Task<IServiceRemotingResponseMessageBody>

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