ILogConsistencyProtocolParticipant.OnProtocolMessageReceived 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.
Called when a message is received from another cluster. This MUST interleave with other calls to avoid deadlocks.
[Orleans.Concurrency.AlwaysInterleave]
public System.Threading.Tasks.Task<Orleans.MultiCluster.ILogConsistencyProtocolMessage> OnProtocolMessageReceived (Orleans.MultiCluster.ILogConsistencyProtocolMessage payload);
[<Orleans.Concurrency.AlwaysInterleave>]
abstract member OnProtocolMessageReceived : Orleans.MultiCluster.ILogConsistencyProtocolMessage -> System.Threading.Tasks.Task<Orleans.MultiCluster.ILogConsistencyProtocolMessage>
Public Function OnProtocolMessageReceived (payload As ILogConsistencyProtocolMessage) As Task(Of ILogConsistencyProtocolMessage)
Parameters
- payload
- ILogConsistencyProtocolMessage
the protocol message to be delivered
Returns
- Attributes