Skip to content

NoOpStreamDeliveryFailureHandler Methods

IStreamFailureHandler which does nothing in response to failures.

OnDeliveryFailure(GuidId, string, StreamId, StreamSequenceToken?)

View source
public Task OnDeliveryFailure(GuidId subscriptionId, string streamProviderName, StreamId streamId, StreamSequenceToken? sequenceToken)
Called once all measures to deliver an event to a consumer have been exhausted.

Parameters

subscriptionIdGuidId
The subscription identifier.
streamProviderNamestring
Name of the stream provider.
streamIdStreamId
The stream identity.
sequenceTokenStreamSequenceToken?
The sequence token.

Returns

A System.Threading.Tasks.Task representing the operation.

OnSubscriptionFailure(GuidId, string, StreamId, StreamSequenceToken?)

View source
public Task OnSubscriptionFailure(GuidId subscriptionId, string streamProviderName, StreamId streamId, StreamSequenceToken? sequenceToken)
Should be called when establishing a subscription failed.

Parameters

subscriptionIdGuidId
The subscription identifier.
streamProviderNamestring
Name of the stream provider.
streamIdStreamId
The stream identity.
sequenceTokenStreamSequenceToken?
The sequence token.

Returns

A System.Threading.Tasks.Task representing the operation.