# PullingAgentStreamRegistered Constructors

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

## PullingAgentStreamRegistered(string, SiloAddress?, QueueId, StreamId, GrainId, int) {#constructor-string-orleans-runtime-siloaddress-nullable-orleans-streams-queueid-b02ed8aa}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streaming.diagnostics.streamingevents.pullingagentstreamregistered/constructors/constructor-string-orleans-runtime-siloaddress-nullable-orleans-streams-queueid-b02ed8aa/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Orleans.Streaming/Diagnostics/StreamingEvents.cs#L572-L592)

```csharp
public PullingAgentStreamRegistered(string streamProvider, SiloAddress? siloAddress, QueueId queueId, StreamId streamId, GrainId producerGrainId, int subscriberCount)
```

Event payload for when a persistent stream pulling agent registers a local stream entry.

### Parameters

- `streamProvider` (`string`): The name of the stream provider.
- `siloAddress` (`SiloAddress?`): The address of the silo.
- `queueId` (`QueueId`): The queue handled by the pulling agent.
- `streamId` (`StreamId`): The stream ID.
- `producerGrainId` (`GrainId`): The pulling agent grain ID registered as producer in pubsub.
- `subscriberCount` (`int`): The number of non-faulted subscribers returned by pubsub.
