# ProducerRegistered

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#L286)

```csharp
public sealed class ProducerRegistered : StreamingEvent
```

Event payload for when a producer is durably registered in pubsub state for a stream.

## Constructors

- [ProducerRegistered(string, StreamId, GrainId, SiloAddress?)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streaming.diagnostics.streamingevents.producerregistered/constructors/constructor-string-orleans-runtime-streamid-orleans-runtime-grainid-orleans-runt-a4af0f5e/)

## Fields

- [ProducerGrainId](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streaming.diagnostics.streamingevents.producerregistered/fields/producergrainid-ff587514/)
- [StreamId](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streaming.diagnostics.streamingevents.producerregistered/fields/streamid-46e63fca/)
