Condividi tramite


ILogConsistencyProtocolParticipant.OnProtocolMessageReceived Metodo

Definizione

Chiamato quando un messaggio viene ricevuto da un altro cluster. Questo MUST interleave con altre chiamate per evitare deadlock.

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

Parametri

payload
ILogConsistencyProtocolMessage

messaggio del protocollo da recapitare

Restituisce

Attributi

Si applica a