ProxyBase.ContinueWithResult<TRetval>(Int32, Int32, 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.
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
System.Type of the remote method return value.
Parameters
- interfaceId
- System.Int32
Interface Id for the remoted interface.
- methodId
- System.Int32
Method Id for the remote method.
- task
- System.Threading.Tasks.Task<System.Object>
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.