# SubscriptionRemoved

Package: [Microsoft.Orleans.Streaming](/orleans/docs/api/csharp/microsoft.orleans.streaming/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Streaming) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/Diagnostics/StreamingEvents.cs#L214)

```csharp
public sealed class SubscriptionRemoved : StreamingEvent
```

Event payload for when a stream subscription is removed.

## Constructors

- [SubscriptionRemoved(string, StreamId, Guid, SiloAddress?)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streaming.diagnostics.streamingevents.subscriptionremoved/constructors/constructor-string-orleans-runtime-streamid-system-guid-orleans-runtime-siloaddr-e8f65ec1/)

## Fields

- [StreamId](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streaming.diagnostics.streamingevents.subscriptionremoved/fields/streamid-3d7d0f37/)
- [SubscriptionId](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streaming.diagnostics.streamingevents.subscriptionremoved/fields/subscriptionid-cae3ae0e/)
