# SubscriptionUnregistered Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streaming.diagnostics.streamingevents.subscriptionunregistered/)

## SubscriptionUnregistered(string, StreamId, Guid, SiloAddress?) {#constructor-string-orleans-runtime-streamid-system-guid-orleans-runtime-siloaddr-41155c5d}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streaming.diagnostics.streamingevents.subscriptionunregistered/constructors/constructor-string-orleans-runtime-streamid-system-guid-orleans-runtime-siloaddr-41155c5d/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/Diagnostics/StreamingEvents.cs#L242-L252)

```csharp
public SubscriptionUnregistered(string streamProvider, StreamId streamId, Guid subscriptionId, SiloAddress? siloAddress)
```

Event payload for when a stream subscription is durably removed from pubsub state.

### Parameters

- `streamProvider` (`string`): The name of the stream provider.
- `streamId` (`StreamId`): The stream ID.
- `subscriptionId` (`Guid`): The subscription ID.
- `siloAddress` (`SiloAddress?`): The address of the silo handling this removal.
