EventProcessorHost Constructor (String, String, String, String, String)
Initializes a new instance of the EventProcessorHost class.
Namespace: Microsoft.ServiceBus.Messaging
Assembly: Microsoft.ServiceBus.Messaging.EventProcessorHost (in Microsoft.ServiceBus.Messaging.EventProcessorHost.dll)
Syntax
public EventProcessorHost(
string hostName,
string eventHubPath,
string consumerGroupName,
string eventHubConnectionString,
string storageConnectionString
)
public:
EventProcessorHost(
String^ hostName,
String^ eventHubPath,
String^ consumerGroupName,
String^ eventHubConnectionString,
String^ storageConnectionString
)
new :
hostName:string *
eventHubPath:string *
consumerGroupName:string *
eventHubConnectionString:string *
storageConnectionString:string -> EventProcessorHost
Public Sub New (
hostName As String,
eventHubPath As String,
consumerGroupName As String,
eventHubConnectionString As String,
storageConnectionString As String
)
Parameters
hostName
Type: System.StringThe name of the EventProcessorHost instance. This name must be unique for each instance of the host.
eventHubPath
Type: System.StringThe path to the Event Hub from which to start receiving event data.
consumerGroupName
Type: System.StringThe name of the Event Hubs consumer group from which to start receiving event data.
eventHubConnectionString
Type: System.StringThe connection string for the Event Hub.
storageConnectionString
Type: System.StringThe connection string for the Azure Blob storage account to use for partition distribution.
See Also
EventProcessorHost Overload
EventProcessorHost Class
Microsoft.ServiceBus.Messaging Namespace
Return to top