EventProcessorHost.RegisterEventProcessorFactoryAsync Method (IEventProcessorFactory)
Asynchronously registers the event processor factory.
Namespace: Microsoft.ServiceBus.Messaging
Assembly: Microsoft.ServiceBus.Messaging.EventProcessorHost (in Microsoft.ServiceBus.Messaging.EventProcessorHost.dll)
Syntax
public Task RegisterEventProcessorFactoryAsync(
IEventProcessorFactory factory
)
public:
Task^ RegisterEventProcessorFactoryAsync(
IEventProcessorFactory^ factory
)
member RegisterEventProcessorFactoryAsync :
factory:IEventProcessorFactory -> Task
Public Function RegisterEventProcessorFactoryAsync (
factory As IEventProcessorFactory
) As Task
Parameters
factory
Type: Microsoft.ServiceBus.Messaging.IEventProcessorFactoryThe factory to register.
Return Value
Type: System.Threading.Tasks.Task
The task representing the asynchronous operation.
See Also
RegisterEventProcessorFactoryAsync Overload
EventProcessorHost Class
Microsoft.ServiceBus.Messaging Namespace
Return to top