# EventHubSequenceTokenV2 Constructors

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

## EventHubSequenceTokenV2 {#constructor-d550ca8d}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.eventhubsequencetokenv2/constructors/constructor-d550ca8d/)

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

```csharp
public EventHubSequenceTokenV2()
```

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

## EventHubSequenceTokenV2(string, long, int) {#constructor-string-long-int-580158ad}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.eventhubsequencetokenv2/constructors/constructor-string-long-int-580158ad/)

[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.
