Udostępnij za pośrednictwem


Checkpoint Constructors

Definition

Overloads

Checkpoint(Checkpoint)

Creates a new Checkpoint from an existing checkpoint.

Checkpoint(String)

Creates a new Checkpoint for a particular partition ID.

Checkpoint(String, String, Int64)

Creates a new Checkpoint for a particular partition ID, with the offset and sequence number.

Checkpoint(Checkpoint)

Source:
Checkpoint.cs

Creates a new Checkpoint from an existing checkpoint.

public Checkpoint (Microsoft.Azure.EventHubs.Processor.Checkpoint source);
new Microsoft.Azure.EventHubs.Processor.Checkpoint : Microsoft.Azure.EventHubs.Processor.Checkpoint -> Microsoft.Azure.EventHubs.Processor.Checkpoint
Public Sub New (source As Checkpoint)

Parameters

source
Checkpoint

The existing checkpoint to copy

Applies to

Checkpoint(String)

Source:
Checkpoint.cs

Creates a new Checkpoint for a particular partition ID.

public Checkpoint (string partitionId);
new Microsoft.Azure.EventHubs.Processor.Checkpoint : string -> Microsoft.Azure.EventHubs.Processor.Checkpoint
Public Sub New (partitionId As String)

Parameters

partitionId
String

The partition ID for the checkpoint

Applies to

Checkpoint(String, String, Int64)

Source:
Checkpoint.cs

Creates a new Checkpoint for a particular partition ID, with the offset and sequence number.

public Checkpoint (string partitionId, string offset, long sequenceNumber);
new Microsoft.Azure.EventHubs.Processor.Checkpoint : string * string * int64 -> Microsoft.Azure.EventHubs.Processor.Checkpoint
Public Sub New (partitionId As String, offset As String, sequenceNumber As Long)

Parameters

partitionId
String

The partition ID for the checkpoint

offset
String

The offset for the last processed EventData

sequenceNumber
Int64

The sequence number of the last processed EventData

Applies to