영업: 1-800-867-1380

RegisterProcessor(T) 메서드 (Lease, ICheckpointManager)

Registers an implementation of IEventProcessor in order to start consuming events from Event Hubs for the specified PartitionId starting from Offset. Use this overload to create an event processor that checkpoints the message offset using a custom implementation of ICheckpointManager.

네임스페이스:  Microsoft.ServiceBus.Messaging
어셈블리:  Microsoft.ServiceBus(Microsoft.ServiceBus.dll)

public void RegisterProcessor<T>(
	Lease lease,
	ICheckpointManager checkpointManager
)
where T : IEventProcessor

유형 매개 변수

T

Implementation of IEventProcessor.

매개 변수

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

To create IEventProcessor objects with more advanced options, implement an IEventProcessorFactory class that enables you to control how event processors are created.

이 정보가 도움이 되었습니까?
(1500자 남음)
의견을 주셔서 감사합니다.

커뮤니티 추가 항목

표시:
© 2015 Microsoft