C# Class EventHubListenerLib.EventHubListenerPartitionReceiver

Creates & Wraps EventHubReceiver and controls its life cycle
Mostrar archivo Open project: khenidak/service-fabric-eventhub-listener Class Usage Examples

Public Methods

Method Description
EventHubListenerPartitionReceiver ( string partitionId, EventHubListenerOptions options, EventHubConsumerGroup consumerGroup ) : EventHubListenerLib.Common
StartAsync ( ) : System.Threading.Tasks.Task
StopAsync ( ) : System.Threading.Tasks.Task

Private Methods

Method Description
CreateEventHubReceiverAsync ( ) : Task
EventLoop ( EventHubReceiver receiver ) : System.Threading.Tasks.Task

Method Details

EventHubListenerPartitionReceiver() public method

public EventHubListenerPartitionReceiver ( string partitionId, EventHubListenerOptions options, EventHubConsumerGroup consumerGroup ) : EventHubListenerLib.Common
partitionId string
options EventHubListenerOptions
consumerGroup EventHubConsumerGroup
return EventHubListenerLib.Common

StartAsync() public method

public StartAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

StopAsync() public method

public StopAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task