# ProducerUnregistered Constructors

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

## ProducerUnregistered(string, StreamId, GrainId, SiloAddress?) {#constructor-string-orleans-runtime-streamid-orleans-runtime-grainid-orleans-runt-4e1df6bc}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streaming.diagnostics.streamingevents.producerunregistered/constructors/constructor-string-orleans-runtime-streamid-orleans-runtime-grainid-orleans-runt-4e1df6bc/)

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

```csharp
public ProducerUnregistered(string streamProvider, StreamId streamId, GrainId producerGrainId, SiloAddress? siloAddress)
```

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

### Parameters

- `streamProvider` (`string`): The name of the stream provider.
- `streamId` (`StreamId`): The stream ID.
- `producerGrainId` (`GrainId`): The producer grain ID.
- `siloAddress` (`SiloAddress?`): The address of the silo handling this removal.
