MethodDispatcherBase.ContinueWithResult<TRetVal> 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.
Internal - used by Service remoting
protected System.Threading.Tasks.Task<Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingResponseMessageBody> ContinueWithResult<TRetVal> (string interfaceName, string methodName, int methodId, Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingMessageBodyFactory remotingMessageBodyFactory, System.Threading.Tasks.Task<TRetVal> task);
member this.ContinueWithResult : string * string * int * Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingMessageBodyFactory * System.Threading.Tasks.Task<'RetVal> -> System.Threading.Tasks.Task<Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingResponseMessageBody>
Protected Function ContinueWithResult(Of TRetVal) (interfaceName As String, methodName As String, methodId As Integer, remotingMessageBodyFactory As IServiceRemotingMessageBodyFactory, task As Task(Of TRetVal)) As Task(Of IServiceRemotingResponseMessageBody)
Type Parameters
- TRetVal
The response type for the remoting method.
Parameters
- interfaceName
- String
Interface Name of the remoting Interface
- methodName
- String
Method Name of the remoting method
- methodId
- Int32
MethodId of the remoting method
- remotingMessageBodyFactory
- IServiceRemotingMessageBodyFactory
MessageFactory for the remoting Interface.
- task
- Task<TRetVal>
continuation task
Returns
A Task that represents outstanding operation.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET