EventHubCheckpointer.Create 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Create(ICheckpointerSettings, String, String) |
用于创建和初始化检查点的工厂函数 |
Create(AzureTableStreamCheckpointerOptions, String, String, String, ILoggerFactory) |
用于创建和初始化检查点的工厂函数 |
Create(ICheckpointerSettings, String, String)
用于创建和初始化检查点的工厂函数
public static System.Threading.Tasks.Task<Orleans.Streams.IStreamQueueCheckpointer<string>> Create (Orleans.ServiceBus.Providers.ICheckpointerSettings settings, string streamProviderName, string partition);
static member Create : Orleans.ServiceBus.Providers.ICheckpointerSettings * string * string -> System.Threading.Tasks.Task<Orleans.Streams.IStreamQueueCheckpointer<string>>
Public Shared Function Create (settings As ICheckpointerSettings, streamProviderName As String, partition As String) As Task(Of IStreamQueueCheckpointer(Of String))
参数
- settings
- ICheckpointerSettings
- streamProviderName
- String
- partition
- String
返回
适用于
Create(AzureTableStreamCheckpointerOptions, String, String, String, ILoggerFactory)
- Source:
- EventHubCheckpointer.cs
用于创建和初始化检查点的工厂函数
public static System.Threading.Tasks.Task<Orleans.Streams.IStreamQueueCheckpointer<string>> Create (Orleans.Configuration.AzureTableStreamCheckpointerOptions options, string streamProviderName, string partition, string serviceId, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
static member Create : Orleans.Configuration.AzureTableStreamCheckpointerOptions * string * string * string * Microsoft.Extensions.Logging.ILoggerFactory -> System.Threading.Tasks.Task<Orleans.Streams.IStreamQueueCheckpointer<string>>
Public Shared Function Create (options As AzureTableStreamCheckpointerOptions, streamProviderName As String, partition As String, serviceId As String, loggerFactory As ILoggerFactory) As Task(Of IStreamQueueCheckpointer(Of String))
参数
- streamProviderName
- String
- partition
- String
- serviceId
- String
- loggerFactory
- ILoggerFactory