EventProcessorHost Constructor (String, String, String, Func<EventProcessorOptions, MessagingFactory>, Func<CloudBlobClient>, String)
Namespace: Microsoft.ServiceBus.Messaging
Assembly: Microsoft.ServiceBus.Messaging.EventProcessorHost (in Microsoft.ServiceBus.Messaging.EventProcessorHost.dll)
Syntax
public EventProcessorHost(
string hostName,
string eventHubPath,
string consumerGroupName,
Func<EventProcessorOptions, MessagingFactory> eventHubClientFactory,
Func<CloudBlobClient> storageClientFactory,
string leaseContainerName
)
public:
EventProcessorHost(
String^ hostName,
String^ eventHubPath,
String^ consumerGroupName,
Func<EventProcessorOptions^, MessagingFactory^>^ eventHubClientFactory,
Func<CloudBlobClient^>^ storageClientFactory,
String^ leaseContainerName
)
new :
hostName:string *
eventHubPath:string *
consumerGroupName:string *
eventHubClientFactory:Func<EventProcessorOptions, MessagingFactory> *
storageClientFactory:Func<CloudBlobClient> *
leaseContainerName:string -> EventProcessorHost
Public Sub New (
hostName As String,
eventHubPath As String,
consumerGroupName As String,
eventHubClientFactory As Func(Of EventProcessorOptions, MessagingFactory),
storageClientFactory As Func(Of CloudBlobClient),
leaseContainerName As String
)
Parameters
- hostName
Type: System.String
- eventHubPath
Type: System.String
- consumerGroupName
Type: System.String
- eventHubClientFactory
Type: System.Func<EventProcessorOptions, MessagingFactory>
- storageClientFactory
Type: System.Func<CloudBlobClient>
- leaseContainerName
Type: System.String
See Also
EventProcessorHost Overload
EventProcessorHost Class
Microsoft.ServiceBus.Messaging Namespace
Return to top