# EventHubSequenceTokenV2.EventHubSequenceTokenV2(string, long, int)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.eventhubsequencetokenv2/) | [Constructors](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.eventhubsequencetokenv2/constructors/)

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

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

Initializes a new instance of the [EventHubSequenceTokenV2](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.eventhubsequencetokenv2/) 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.
