# PubSubSubscriptionState

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/PubSub/PubSubSubscriptionState.cs#L11)

```csharp
[Orleans.GenerateSerializer]
public sealed class PubSubSubscriptionState : IEquatable<PubSubSubscriptionState>
```

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

## Constructors

- [PubSubSubscriptionState(GuidId, QualifiedStreamId, GrainId)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/constructors/constructor-orleans-runtime-guidid-orleans-runtime-qualifiedstreamid-orleans-run-1d4e9a5f/)

## Properties

- [IsFaulted](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/properties/isfaulted-aa6e8434/)

## Methods

- [AddFilter(string)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/methods/addfilter-string-e13fd856/)
- [Equals(GuidId)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/methods/equals-orleans-runtime-guidid-6ef5140d/)
- [Equals(PubSubSubscriptionState)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/methods/equals-orleans-streams-pubsubsubscriptionstate-39dfe3aa/)
- [Equals(object)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/methods/equals-object-226647c7/)
- [Fault](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/methods/fault-f8f658cc/)
- [GetHashCode](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/methods/gethashcode-6aeb5a72/)
- [ToString](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/methods/tostring-9cfd2bf3/)
- [operator ==(PubSubSubscriptionState, PubSubSubscriptionState)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/methods/op-equality-orleans-streams-pubsubsubscriptionstate-orleans-streams-pubsubsubscr-eff30a87/)
- [operator !=(PubSubSubscriptionState, PubSubSubscriptionState)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/methods/op-inequality-orleans-streams-pubsubsubscriptionstate-orleans-streams-pubsubsubs-8828c853/)

## Fields

- [Consumer](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/fields/consumer-622264a5/)
- [FilterData](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/fields/filterdata-509e7306/)
- [Stream](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/fields/stream-ef0e6602/)
- [SubscriptionId](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/fields/subscriptionid-3319d70f/)
- [state](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/fields/state-d8f28287/)
