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)

System.Object
  Microsoft.ServiceBus.Messaging.EventProcessorHost

public class EventProcessorHost

NameDescription
System_CAPS_pubpropertyHostName

Gets the host name, which is a unique name for the EventProcessorHost instance.

System_CAPS_pubpropertyPartitionManagerOptions

Gets or sets the PartitionManagerOptions instance used by the EventProcessorHost object.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRegisterEventProcessorAsync<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.

System_CAPS_pubmethodRegisterEventProcessorAsync<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.

System_CAPS_pubmethodRegisterEventProcessorFactoryAsync(IEventProcessorFactory)

Asynchronously registers the event processor factory.

System_CAPS_pubmethodRegisterEventProcessorFactoryAsync(IEventProcessorFactory, EventProcessorOptions)

Asynchronously registers the event processor factory.

System_CAPS_pubmethodResetAllConnections()

System_CAPS_pubmethodResetConnection(String)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUnregisterEventProcessorAsync()

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: