MethodDispatcherBase.CreateResponseMessageBody 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.
This method is used ti create the remoting response from the specified return value
protected Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingResponseMessageBody CreateResponseMessageBody (string interfaceName, string methodName, int methodId, Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingMessageBodyFactory remotingMessageBodyFactory, object response);
member this.CreateResponseMessageBody : string * string * int * Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingMessageBodyFactory * obj -> Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingResponseMessageBody
Protected Function CreateResponseMessageBody (interfaceName As String, methodName As String, methodId As Integer, remotingMessageBodyFactory As IServiceRemotingMessageBodyFactory, response As Object) As IServiceRemotingResponseMessageBody
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.
- response
- Object
Response returned by remoting method
Returns
Remoting Response
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET