Share via


EventProcessor<TPartition>.CreateConnection Method

Definition

Creates an EventHubConnection to use for communicating with the Event Hubs service.

protected internal virtual Azure.Messaging.EventHubs.EventHubConnection CreateConnection ();
abstract member CreateConnection : unit -> Azure.Messaging.EventHubs.EventHubConnection
override this.CreateConnection : unit -> Azure.Messaging.EventHubs.EventHubConnection
Protected Friend Overridable Function CreateConnection () As EventHubConnection

Returns

The requested EventHubConnection.

Applies to