EventPosition.FromSequenceNumber(Int64, Boolean) Method
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.
Creates a position at the given sequence number.
public static Microsoft.ServiceBus.Messaging.EventPosition FromSequenceNumber (long sequenceNumber, bool inclusive = false);
static member FromSequenceNumber : int64 * bool -> Microsoft.ServiceBus.Messaging.EventPosition
Public Shared Function FromSequenceNumber (sequenceNumber As Long, Optional inclusive As Boolean = false) As EventPosition
Parameters
- sequenceNumber
- Int64
- inclusive
- Boolean
If true, the event at given sequence number is included; otherwise the next event is returned.
Returns
An EventPosition object.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET