# SubscriptionRegistered Fields

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

## ConsumerGrainId {#consumergrainid-96338d59}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streaming.diagnostics.streamingevents.subscriptionregistered/fields/consumergrainid-96338d59/)

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

```csharp
public readonly GrainId ConsumerGrainId
```

The grain ID of the consumer.

## StreamId {#streamid-587bba9b}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streaming.diagnostics.streamingevents.subscriptionregistered/fields/streamid-587bba9b/)

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

```csharp
public readonly StreamId StreamId
```

The stream ID.

## SubscriptionId {#subscriptionid-14e2f682}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streaming.diagnostics.streamingevents.subscriptionregistered/fields/subscriptionid-14e2f682/)

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

```csharp
public readonly Guid SubscriptionId
```

The subscription ID.
