# StreamDeliveryFailureEntity Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.providers.streams.persistentstreams.streamdeliveryfailureentity/)

## GetSequenceToken(Serializer&lt;StreamSequenceToken&gt;) {#getsequencetoken-orleans-serialization-serializer-orleans-streams-streamsequence-33593af3}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.providers.streams.persistentstreams.streamdeliveryfailureentity/methods/getsequencetoken-orleans-serialization-serializer-orleans-streams-streamsequence-33593af3/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/PersistentStreams/StreamDeliveryFailureEntity.cs#L85)

```csharp
public virtual StreamSequenceToken GetSequenceToken(Serializer<StreamSequenceToken> serializer)
```

Gets sequence token by deserializing it from property.

### Parameters

- `serializer` (`Serializer<StreamSequenceToken>`)

## MakeDefaultPartitionKey(string, string) {#makedefaultpartitionkey-string-string-56e9c3fb}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.providers.streams.persistentstreams.streamdeliveryfailureentity/methods/makedefaultpartitionkey-string-string-56e9c3fb/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/PersistentStreams/StreamDeliveryFailureEntity.cs#L58)

```csharp
public static string MakeDefaultPartitionKey(string streamProviderName, string deploymentId)
```

Default partition key

### Parameters

- `streamProviderName` (`string`)
- `deploymentId` (`string`)

## SetPartitionKey(string) {#setpartitionkey-string-f0892a07}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.providers.streams.persistentstreams.streamdeliveryfailureentity/methods/setpartitionkey-string-f0892a07/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/PersistentStreams/StreamDeliveryFailureEntity.cs#L50-L51)

```csharp
public virtual void SetPartitionKey(string deploymentId)
```

Sets the partition key before persist call.

### Parameters

- `deploymentId` (`string`)

## SetRowkey {#setrowkey-0731a4dc}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.providers.streams.persistentstreams.streamdeliveryfailureentity/methods/setrowkey-0731a4dc/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/PersistentStreams/StreamDeliveryFailureEntity.cs#L66-L67)

```csharp
public virtual void SetRowkey()
```

Sets the row key before persist call

## SetSequenceToken(Serializer&lt;StreamSequenceToken&gt;, StreamSequenceToken) {#setsequencetoken-orleans-serialization-serializer-orleans-streams-streamsequence-8b6eb08c}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.providers.streams.persistentstreams.streamdeliveryfailureentity/methods/setsequencetoken-orleans-serialization-serializer-orleans-streams-streamsequence-8b6eb08c/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/PersistentStreams/StreamDeliveryFailureEntity.cs#L76-L77)

```csharp
public virtual void SetSequenceToken(Serializer<StreamSequenceToken> serializer, StreamSequenceToken token)
```

Sets sequence token by serializing it to property.

### Parameters

- `serializer` (`Serializer<StreamSequenceToken>`)
- `token` (`StreamSequenceToken`)
