共用方式為


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

要傳遞的通訊協定訊息

傳回

屬性

適用於