NoOpStreamDeliveryFailureHandler.OnDeliveryFailure 方法

定义

重载

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)

Source:
NoOpStreamFailureHandler.cs

在用尽重试尝试后,当事件无法传递给使用者时,应调用 。

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

返回

实现

适用于