EventProcessorHost Class
Represents a host for processing Event Hubs event data.
Namespace: Microsoft.ServiceBus.Messaging
Assembly: Microsoft.ServiceBus.Messaging.EventProcessorHost (in Microsoft.ServiceBus.Messaging.EventProcessorHost.dll)
Inheritance Hierarchy
System.Object
Microsoft.ServiceBus.Messaging.EventProcessorHost
Syntax
public class EventProcessorHost
public ref class EventProcessorHost
type EventProcessorHost = class end
Public Class EventProcessorHost
Constructors
Name | Description | |
---|---|---|
![]() |
EventProcessorHost(String, String, String, Func<EventProcessorOptions, MessagingFactory>, Func<CloudBlobClient>) | |
![]() |
EventProcessorHost(String, String, String, Func<EventProcessorOptions, MessagingFactory>, Func<CloudBlobClient>, String) | |
![]() |
EventProcessorHost(String, String, String, String) | |
![]() |
EventProcessorHost(String, String, String, String, String) | Initializes a new instance of the EventProcessorHost class. |
![]() |
EventProcessorHost(String, String, String, String, String, String) | Initializes a new instance of the EventProcessorHost class. |
Properties
Name | Description | |
---|---|---|
![]() |
HostName | Gets the host name, which is a unique name for the EventProcessorHost instance. |
![]() |
PartitionManagerOptions | Gets or sets the PartitionManagerOptions instance used by the EventProcessorHost object. |
Methods
Name | Description | |
---|---|---|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
RegisterEventProcessorAsync<T>() | Asynchronously registers the IEventProcessor interface implementation with the host using the DefaultEventProcessorFactory<T> factory. This method also starts the host and enables it to start participating in the partition distribution process. |
![]() |
RegisterEventProcessorAsync<T>(EventProcessorOptions) | Asynchronously registers the IEventProcessor interface implementation with the host using the DefaultEventProcessorFactory<T> factory. This method also starts the host and enables it to start participating in the partition distribution process. |
![]() |
RegisterEventProcessorFactoryAsync(IEventProcessorFactory) | Asynchronously registers the event processor factory. |
![]() |
RegisterEventProcessorFactoryAsync(IEventProcessorFactory, EventProcessorOptions) | Asynchronously registers the event processor factory. |
![]() |
ResetAllConnections() | |
![]() |
ResetConnection(String) | |
![]() |
ToString() | (Inherited from Object.) |
![]() |
UnregisterEventProcessorAsync() | Asynchronously shuts down the EventProcessorHost instance. This method maintains the leases on all partitions currently held, and enables each IEventProcessor instance to shut down cleanly by invoking the CloseAsync method with a Shutdown object. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.ServiceBus.Messaging Namespace
Return to top