Share via


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

  • eventHubPath
    Type: System.String

    The path to the Event Hub from which to start receiving event data.

  • consumerGroupName
    Type: System.String

    The name of the Event Hubs consumer group from which to start receiving event data.

  • eventHubConnectionString
    Type: System.String

    The connection string for the Event Hub.

  • storageConnectionString
    Type: System.String

    The 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