# PubSubSubscriptionState Fields

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/)

## Consumer {#consumer-622264a5}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/fields/consumer-622264a5/)

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

```csharp
[Orleans.Id(2)]
public GrainId Consumer
```

## FilterData {#filterdata-509e7306}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/fields/filterdata-509e7306/)

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

```csharp
[Orleans.Id(3)]
public string FilterData
```

## Stream {#stream-ef0e6602}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/fields/stream-ef0e6602/)

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

```csharp
[Orleans.Id(1)]
public QualifiedStreamId Stream
```

## SubscriptionId {#subscriptionid-3319d70f}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/fields/subscriptionid-3319d70f/)

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

```csharp
[Orleans.Id(0)]
public GuidId SubscriptionId
```

## state {#state-d8f28287}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/fields/state-d8f28287/)

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

```csharp
[Orleans.Id(4)]
public SubscriptionStates state
```
