Edytuj

Udostępnij za pośrednictwem


NoOpStreamDeliveryFailureHandler.OnDeliveryFailure Method

Definition

Overloads

OnDeliveryFailure(GuidId, String, StreamId, StreamSequenceToken)

Called once all measures to deliver an event to a consumer have been exhausted.

OnDeliveryFailure(GuidId, String, IStreamIdentity, StreamSequenceToken)

Should be called when an event could not be delivered to a consumer, after exhausting retry attempts.

OnDeliveryFailure(GuidId, String, StreamId, StreamSequenceToken)

Called once all measures to deliver an event to a consumer have been exhausted.

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

Parameters

subscriptionId
GuidId

The subscription identifier.

streamProviderName
String

Name of the stream provider.

streamId
StreamId
sequenceToken
StreamSequenceToken

The sequence token.

Returns

A Task representing the operation.

Implements

Applies to

OnDeliveryFailure(GuidId, String, IStreamIdentity, StreamSequenceToken)

Source:
NoOpStreamFailureHandler.cs

Should be called when an event could not be delivered to a consumer, after exhausting retry attempts.

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

Parameters

subscriptionId
GuidId
streamProviderName
String
streamIdentity
IStreamIdentity
sequenceToken
StreamSequenceToken

Returns

Implements

Applies to