# StreamProviderDirection

Package: [Microsoft.Orleans.Streaming](/orleans/docs/api/csharp/microsoft.orleans.streaming/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Streaming)

```csharp
public enum StreamProviderDirection
```

Identifies whether a stream provider is read-only, read-write, or write-only.

## Fields

- `None` = `0` - None.
- `ReadOnly` = `1` - This provider can receive messages but cannot send them.
- `WriteOnly` = `2` - This provider can send messages but cannot receive them.
- `ReadWrite` = `3` - This provider can both send and receive messages.
