CheckpointPosition 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
CheckpointPosition() |
Initializes an empty CheckpointPosition which can be used to clear existing checkpoint data. |
CheckpointPosition(String, Int64) |
Initializes a new instance of the CheckpointPosition struct. |
CheckpointPosition()
- Source:
- CheckpointPosition.cs
Initializes an empty CheckpointPosition which can be used to clear existing checkpoint data.
public CheckpointPosition();
Public Sub New ()
Applies to
CheckpointPosition(String, Int64)
- Source:
- CheckpointPosition.cs
Initializes a new instance of the CheckpointPosition struct.
public CheckpointPosition(string offsetString, long sequenceNumber = -9223372036854775808);
new Azure.Messaging.EventHubs.Processor.CheckpointPosition : string * int64 -> Azure.Messaging.EventHubs.Processor.CheckpointPosition
Public Sub New (offsetString As String, Optional sequenceNumber As Long = -9223372036854775808)
Parameters
- offsetString
- String
The offset to associate with the checkpoint. This indicates that a processor should begin reading from the next event in the stream.
- sequenceNumber
- Int64
The sequence number to associate with the checkpoint. This is used as informational metadata.
Applies to
Azure SDK for .NET