Share via


MethodDispatcherBase.OnDispatch Method

Definition

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

protected abstract void OnDispatch (int methodId, object remotedObject, Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingRequestMessageBody requestBody);
abstract member OnDispatch : int * obj * Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingRequestMessageBody -> unit
Protected MustOverride Sub OnDispatch (methodId As Integer, remotedObject As Object, requestBody As IServiceRemotingRequestMessageBody)

Parameters

methodId
Int32

Id of the method.

remotedObject
Object

The remoted object instance.

requestBody
IServiceRemotingRequestMessageBody

Request body

Applies to