Share via


IServiceRemotingMessageBodyFactory.CreateRequest Method

Definition

Creates a remoting request message body.

public Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingRequestMessageBody CreateRequest (string interfaceName, string methodName, int numberOfParameters, object wrappedRequestObject);
abstract member CreateRequest : string * string * int * obj -> Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingRequestMessageBody
Public Function CreateRequest (interfaceName As String, methodName As String, numberOfParameters As Integer, wrappedRequestObject As Object) As IServiceRemotingRequestMessageBody

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

numberOfParameters
Int32

Number of Parameters in that Method

wrappedRequestObject
Object

Wrapped Request Object

Returns

IServiceRemotingRequestMessageBody

Applies to