Microsoft.ServiceBus.Messaging.EventProcessorHost Represents a host for processing Event Hubs event data. Initializes a new instance of the class. The name of the instance. This name must be unique for each instance of the host. The path to the Event Hub from which to start receiving event data. The name of the Event Hubs consumer group from which to start receiving event data. The connection string for the Event Hub. The connection string for the Azure Blob storage account to use for partition distribution. Initializes a new instance of the class. The name of the instance. This name must be unique for each instance of the host. The path to the Event Hub from which to start receiving event data. The name of the Event Hubs consumer group from which to start receiving event data. The connection string for the Event Hub. The connection string for the Azure Blob storage account to use for partition distribution. The name of the Azure Blob container in which all lease blobs are created. If this parameter is not supplied, then the Event Hubs path is used as the name of the Azure Blob container. Gets the host name, which is a unique name for the instance. The host name. Gets or sets the instance used by the object. The instance. Asynchronously registers the interface implementation with the host using the factory. This method also starts the host and enables it to start participating in the partition distribution process. A task indicating that the instance has started. Implementation of your application-specific . Asynchronously registers the interface implementation with the host using the factory. This method also starts the host and enables it to start participating in the partition distribution process. A task indicating that the instance has started. An object that controls various aspects of the event pump created when ownership is acquired for a given Event Hubs partition. Implementation of your application-specific . Asynchronously registers the event processor factory. The task representing the asynchronous operation. The factory to register. Asynchronously registers the event processor factory. Returns . The factory to register. An object that controls various aspects of the event pump created when ownership is acquired for a given Event Hubs partition. Asynchronously shuts down the instance. This method maintains the leases on all partitions currently held, and enables each instance to shut down cleanly by invoking the method with a object. A task that indicates the instance has stopped. Represents the options that control various aspects of partition distribution that occur within the instance. Initializes a new instance of the class. Gets or sets the interval at which the instance begins a task to determine whether partitions are distributed evenly among known host instances. The acquire interval of the partition. Creates an instance of with the following default values:: 10 seconds.: 10 seconds.: 30 seconds. The default partition manager options. Gets or sets the interval at which the lease is created on an Azure Blob representing an Event Hubs partition. If the lease is not renewed within this interval, it expires, and ownership of the partition passes to another instance. Returns . Gets or sets the renewal interval for all leases for partitions currently held by the instance. The interval to renew the partition.