SALES: 1-800-867-1380

EventHubConsumerGroup.RegisterProcessorAsync<T> Method (Lease, ICheckpointManager)

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public Task RegisterProcessorAsync<T>(
	Lease lease,
	ICheckpointManager checkpointManager
)
where T : IEventProcessor

Type Parameters

T

Implementation of IEventProcessor.

Parameters

lease
Type: Microsoft.ServiceBus.Messaging.Lease
Partition information.
checkpointManager
Type: Microsoft.ServiceBus.Messaging.ICheckpointManager
Checkpoints the offset for the specified partition when CheckpointAsync is called.

Return Value

Type: System.Threading.Tasks.Task
A task instance that represents the asynchronous operation.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft