Checkpoint Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Applies to
Azure SDK for .NET