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
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기