NoOpStreamDeliveryFailureHandler.OnDeliveryFailure 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
OnDeliveryFailure(GuidId, String, StreamId, StreamSequenceToken) |
一旦將事件傳遞至取用者的所有量值都已用完,就會呼叫 。 |
OnDeliveryFailure(GuidId, String, IStreamIdentity, StreamSequenceToken) |
當事件無法傳遞至取用者時,應在重試嘗試用盡之後呼叫。 |
OnDeliveryFailure(GuidId, String, StreamId, StreamSequenceToken)
一旦將事件傳遞至取用者的所有量值都已用完,就會呼叫 。
public System.Threading.Tasks.Task OnDeliveryFailure (Orleans.Runtime.GuidId subscriptionId, string streamProviderName, Orleans.Runtime.StreamId streamId, Orleans.Streams.StreamSequenceToken sequenceToken);
abstract member OnDeliveryFailure : Orleans.Runtime.GuidId * string * Orleans.Runtime.StreamId * Orleans.Streams.StreamSequenceToken -> System.Threading.Tasks.Task
override this.OnDeliveryFailure : Orleans.Runtime.GuidId * string * Orleans.Runtime.StreamId * Orleans.Streams.StreamSequenceToken -> System.Threading.Tasks.Task
Public Function OnDeliveryFailure (subscriptionId As GuidId, streamProviderName As String, streamId As StreamId, sequenceToken As StreamSequenceToken) As Task
參數
- subscriptionId
- GuidId
訂用帳戶識別碼。
- streamProviderName
- String
資料流程提供者的名稱。
- streamId
- StreamId
- sequenceToken
- StreamSequenceToken
時序標記。
傳回
, Task 表示作業。
實作
適用於
OnDeliveryFailure(GuidId, String, IStreamIdentity, StreamSequenceToken)
當事件無法傳遞至取用者時,應在重試嘗試用盡之後呼叫。
public System.Threading.Tasks.Task OnDeliveryFailure (Orleans.Runtime.GuidId subscriptionId, string streamProviderName, Orleans.Streams.IStreamIdentity streamIdentity, Orleans.Streams.StreamSequenceToken sequenceToken);
abstract member OnDeliveryFailure : Orleans.Runtime.GuidId * string * Orleans.Streams.IStreamIdentity * Orleans.Streams.StreamSequenceToken -> System.Threading.Tasks.Task
override this.OnDeliveryFailure : Orleans.Runtime.GuidId * string * Orleans.Streams.IStreamIdentity * Orleans.Streams.StreamSequenceToken -> System.Threading.Tasks.Task
Public Function OnDeliveryFailure (subscriptionId As GuidId, streamProviderName As String, streamIdentity As IStreamIdentity, sequenceToken As StreamSequenceToken) As Task
參數
- subscriptionId
- GuidId
- streamProviderName
- String
- streamIdentity
- IStreamIdentity
- sequenceToken
- StreamSequenceToken