Share via


MethodDispatcherBase.Dispatch Method

Definition

Overloads

Dispatch(Object, Int32, IServiceRemotingRequestMessageBody)

This method is used to dispatch one way messages to the specified methodId of the interface implemented by the remoted object.

Dispatch(Object, Int32, Object)

This method is used to dispatch one way messages to the specified methodId of the interface implemented by the remoted object.

Dispatch(Object, Int32, IServiceRemotingRequestMessageBody)

This method is used to dispatch one way messages to the specified methodId of the interface implemented by the remoted object.

public void Dispatch (object objectImplementation, int methodId, Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingRequestMessageBody requestMessageBody);
override this.Dispatch : obj * int * Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingRequestMessageBody -> unit
Public Sub Dispatch (objectImplementation As Object, methodId As Integer, requestMessageBody As IServiceRemotingRequestMessageBody)

Parameters

objectImplementation
Object

The object impplemented the remoted interface.

methodId
Int32

Id of the method to which to dispatch the request to.

requestMessageBody
IServiceRemotingRequestMessageBody

The body of the request object that needs to be dispatched to the remoting implementation.

Applies to

Dispatch(Object, Int32, Object)

This method is used to dispatch one way messages to the specified methodId of the interface implemented by the remoted object.

public override void Dispatch (object objectImplementation, int methodId, object messageBody);
override this.Dispatch : obj * int * obj -> unit
Public Overrides Sub Dispatch (objectImplementation As Object, methodId As Integer, messageBody As Object)

Parameters

objectImplementation
Object

The object impplemented the remoted interface.

methodId
Int32

Id of the method to which to dispatch the request to.

messageBody
Object

The body of the one-way message that needs to be dispatched to the object.

Applies to