# EventHubSequenceToken Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.eventhubsequencetoken/)

## EventHubSequenceToken {#constructor-147ce7b1}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.eventhubsequencetoken/constructors/constructor-147ce7b1/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubSequenceToken.cs#L64-L66)

```csharp
public EventHubSequenceToken()
```

Initializes a new instance of the [EventHubSequenceToken](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.eventhubsequencetoken/) class.

## EventHubSequenceToken(string, long, int) {#constructor-string-long-int-4e2187c9}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.eventhubsequencetoken/constructors/constructor-string-long-int-4e2187c9/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubSequenceToken.cs#L53-L56)

```csharp
public EventHubSequenceToken(string eventHubOffset, long sequenceNumber, int eventIndex)
```

Initializes a new instance of the [EventHubSequenceToken](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.eventhubsequencetoken/) class.

### Parameters

- `eventHubOffset` (`string`): EventHub offset within the partition from which this message came.
- `sequenceNumber` (`long`): EventHub sequenceNumber for this message.
- `eventIndex` (`int`): Index into a batch of events, if multiple events were delivered within a single EventHub message.
