ILogConsistencyProtocolParticipant.OnProtocolMessageReceived 方法

定义

从另一个群集收到消息时调用。 这必须与其他调用交错以避免死锁。

[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)

参数

payload
ILogConsistencyProtocolMessage

要传递的协议消息

返回

属性

适用于