C# Class EventHubListenerLib.EventHubListenerOptions

describes how an Event Hub Listener will operate.
Afficher le fichier Open project: khenidak/service-fabric-eventhub-listener Class Usage Examples

Méthodes publiques

Méthode Description
EventHubListenerOptions ( string currentPartitionId ) : EventHubListenerLib.Common
EventHubListenerOptions ( string currentPartitionId, Uri serviceName, FabricClient fabricClient = null ) : EventHubListenerLib.Common
StartWithEventsNewerThan ( System.DateTime startUTCDateTime ) : EventHubListenerOptions
StartWithOffset ( string offSet, bool IsInclusive ) : EventHubListenerOptions
UseEpoch ( long epoch ) : EventHubListenerOptions

Private Methods

Méthode Description
DistributeOverServicePartitions ( string orderEventHubPartition ) : string[]
PrepareAsync ( ) : System.Threading.Tasks.Task
ResolveAssignedEventHubPartitions ( string EventHubPartitionsIds ) : string[]
SetServicePartitionListAsync ( ) : System.Threading.Tasks.Task

Method Details

EventHubListenerOptions() public méthode

public EventHubListenerOptions ( string currentPartitionId ) : EventHubListenerLib.Common
currentPartitionId string
Résultat EventHubListenerLib.Common

EventHubListenerOptions() public méthode

public EventHubListenerOptions ( string currentPartitionId, Uri serviceName, FabricClient fabricClient = null ) : EventHubListenerLib.Common
currentPartitionId string
serviceName System.Uri
fabricClient FabricClient
Résultat EventHubListenerLib.Common

StartWithEventsNewerThan() public méthode

public StartWithEventsNewerThan ( System.DateTime startUTCDateTime ) : EventHubListenerOptions
startUTCDateTime System.DateTime
Résultat EventHubListenerOptions

StartWithOffset() public méthode

public StartWithOffset ( string offSet, bool IsInclusive ) : EventHubListenerOptions
offSet string
IsInclusive bool
Résultat EventHubListenerOptions

UseEpoch() public méthode

public UseEpoch ( long epoch ) : EventHubListenerOptions
epoch long
Résultat EventHubListenerOptions