AzureTableStorageStreamFailureHandler<TEntity> 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
AzureTableStorageStreamFailureHandler<TEntity>(SerializationManager, ILoggerFactory, Boolean, String, AzureStorageOperationOptions, Func<TEntity>)
將失敗寫入 Azure 資料表儲存體的傳遞失敗處理常式。
public AzureTableStorageStreamFailureHandler (Orleans.Serialization.SerializationManager serializationManager, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, bool faultOnFailure, string clusterId, Orleans.Streaming.AzureStorage.AzureStorageOperationOptions azureStorageOptions, Func<TEntity> createEntity = default);
new Orleans.Providers.Streams.PersistentStreams.AzureTableStorageStreamFailureHandler<'Entity (requires 'Entity :> Orleans.Providers.Streams.PersistentStreams.StreamDeliveryFailureEntity and 'Entity : (new : unit -> 'Entity))> : Orleans.Serialization.SerializationManager * Microsoft.Extensions.Logging.ILoggerFactory * bool * string * Orleans.Streaming.AzureStorage.AzureStorageOperationOptions * Func<'Entity (requires 'Entity :> Orleans.Providers.Streams.PersistentStreams.StreamDeliveryFailureEntity and 'Entity : (new : unit -> 'Entity))> -> Orleans.Providers.Streams.PersistentStreams.AzureTableStorageStreamFailureHandler<'Entity (requires 'Entity :> Orleans.Providers.Streams.PersistentStreams.StreamDeliveryFailureEntity and 'Entity : (new : unit -> 'Entity))>
Public Sub New (serializationManager As SerializationManager, loggerFactory As ILoggerFactory, faultOnFailure As Boolean, clusterId As String, azureStorageOptions As AzureStorageOperationOptions, Optional createEntity As Func(Of TEntity) = Nothing)
參數
- serializationManager
- SerializationManager
- loggerFactory
- ILoggerFactory
要使用的記錄器處理站
- faultOnFailure
- Boolean
- clusterId
- String
- azureStorageOptions
- AzureStorageOperationOptions
- createEntity
- Func<TEntity>
適用於
AzureTableStorageStreamFailureHandler<TEntity>(SerializationManager, Boolean, String, String, String, Func<TEntity>)
將失敗寫入 Azure 資料表儲存體的傳遞失敗處理常式。
public AzureTableStorageStreamFailureHandler (Orleans.Serialization.SerializationManager serializationManager, bool faultOnFailure, string deploymentId, string tableName, string storageConnectionString, Func<TEntity> createEntity = default);
new Orleans.Providers.Streams.PersistentStreams.AzureTableStorageStreamFailureHandler<'Entity (requires 'Entity :> Orleans.Providers.Streams.PersistentStreams.StreamDeliveryFailureEntity and 'Entity : (new : unit -> 'Entity))> : Orleans.Serialization.SerializationManager * bool * string * string * string * Func<'Entity (requires 'Entity :> Orleans.Providers.Streams.PersistentStreams.StreamDeliveryFailureEntity and 'Entity : (new : unit -> 'Entity))> -> Orleans.Providers.Streams.PersistentStreams.AzureTableStorageStreamFailureHandler<'Entity (requires 'Entity :> Orleans.Providers.Streams.PersistentStreams.StreamDeliveryFailureEntity and 'Entity : (new : unit -> 'Entity))>
Public Sub New (serializationManager As SerializationManager, faultOnFailure As Boolean, deploymentId As String, tableName As String, storageConnectionString As String, Optional createEntity As Func(Of TEntity) = Nothing)
參數
- serializationManager
- SerializationManager
- faultOnFailure
- Boolean
- deploymentId
- String
- tableName
- String
- storageConnectionString
- String
- createEntity
- Func<TEntity>
適用於
AzureTableStorageStreamFailureHandler<TEntity>(Serializer<StreamSequenceToken>, ILoggerFactory, Boolean, String, AzureStorageOperationOptions, Func<TEntity>)
將失敗寫入 Azure 資料表儲存體的傳遞失敗處理常式。
public AzureTableStorageStreamFailureHandler (Orleans.Serialization.Serializer<Orleans.Streams.StreamSequenceToken> serializer, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, bool faultOnFailure, string clusterId, Orleans.Streaming.AzureStorage.AzureStorageOperationOptions azureStorageOptions, Func<TEntity> createEntity = default);
new Orleans.Providers.Streams.PersistentStreams.AzureTableStorageStreamFailureHandler<'Entity (requires 'Entity :> Orleans.Providers.Streams.PersistentStreams.StreamDeliveryFailureEntity and 'Entity : (new : unit -> 'Entity))> : Orleans.Serialization.Serializer<Orleans.Streams.StreamSequenceToken> * Microsoft.Extensions.Logging.ILoggerFactory * bool * string * Orleans.Streaming.AzureStorage.AzureStorageOperationOptions * Func<'Entity (requires 'Entity :> Orleans.Providers.Streams.PersistentStreams.StreamDeliveryFailureEntity and 'Entity : (new : unit -> 'Entity))> -> Orleans.Providers.Streams.PersistentStreams.AzureTableStorageStreamFailureHandler<'Entity (requires 'Entity :> Orleans.Providers.Streams.PersistentStreams.StreamDeliveryFailureEntity and 'Entity : (new : unit -> 'Entity))>
Public Sub New (serializer As Serializer(Of StreamSequenceToken), loggerFactory As ILoggerFactory, faultOnFailure As Boolean, clusterId As String, azureStorageOptions As AzureStorageOperationOptions, Optional createEntity As Func(Of TEntity) = Nothing)
參數
- serializer
- Serializer<StreamSequenceToken>
- loggerFactory
- ILoggerFactory
要使用的記錄器處理站
- faultOnFailure
- Boolean
- clusterId
- String
- azureStorageOptions
- AzureStorageOperationOptions
- createEntity
- Func<TEntity>
適用於
AzureTableStorageStreamFailureHandler<TEntity>(SerializationManager, ILoggerFactory, Boolean, String, String, String, Func<TEntity>)
將失敗寫入 Azure 資料表儲存體的傳遞失敗處理常式。
public AzureTableStorageStreamFailureHandler (Orleans.Serialization.SerializationManager serializationManager, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, bool faultOnFailure, string clusterId, string tableName, string storageConnectionString, Func<TEntity> createEntity = default);
new Orleans.Providers.Streams.PersistentStreams.AzureTableStorageStreamFailureHandler<'Entity (requires 'Entity :> Orleans.Providers.Streams.PersistentStreams.StreamDeliveryFailureEntity and 'Entity : (new : unit -> 'Entity))> : Orleans.Serialization.SerializationManager * Microsoft.Extensions.Logging.ILoggerFactory * bool * string * string * string * Func<'Entity (requires 'Entity :> Orleans.Providers.Streams.PersistentStreams.StreamDeliveryFailureEntity and 'Entity : (new : unit -> 'Entity))> -> Orleans.Providers.Streams.PersistentStreams.AzureTableStorageStreamFailureHandler<'Entity (requires 'Entity :> Orleans.Providers.Streams.PersistentStreams.StreamDeliveryFailureEntity and 'Entity : (new : unit -> 'Entity))>
Public Sub New (serializationManager As SerializationManager, loggerFactory As ILoggerFactory, faultOnFailure As Boolean, clusterId As String, tableName As String, storageConnectionString As String, Optional createEntity As Func(Of TEntity) = Nothing)
參數
- serializationManager
- SerializationManager
- loggerFactory
- ILoggerFactory
要使用的記錄器處理站
- faultOnFailure
- Boolean
- clusterId
- String
- tableName
- String
- storageConnectionString
- String
- createEntity
- Func<TEntity>