Udostępnij za pośrednictwem


IServiceRemotingMessageBodyFactory.CreateResponse Method

Definition

Creates a remoting response message body.

public Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingResponseMessageBody CreateResponse (string interfaceName, string methodName, object wrappedResponseObject);
abstract member CreateResponse : string * string * obj -> Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingResponseMessageBody
Public Function CreateResponse (interfaceName As String, methodName As String, wrappedResponseObject As Object) As IServiceRemotingResponseMessageBody

Parameters

interfaceName
String

This is FullName for the service interface for which request body is being constructed

methodName
String

MethodName for the service interface for which request will be sent to

wrappedResponseObject
Object

Wrapped Response Object

Returns

IServiceRemotingResponseMessageBody

Applies to