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