# StreamInactive Constructors

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

## StreamInactive(string, StreamId, TimeSpan, SiloAddress?) {#constructor-string-orleans-runtime-streamid-system-timespan-orleans-runtime-silo-3a2c7546}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streaming.diagnostics.streamingevents.streaminactive/constructors/constructor-string-orleans-runtime-streamid-system-timespan-orleans-runtime-silo-3a2c7546/)

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

```csharp
public StreamInactive(string streamProvider, StreamId streamId, TimeSpan inactivityPeriod, SiloAddress? siloAddress)
```

Event payload for when a stream becomes inactive due to no activity.

### Parameters

- `streamProvider` (`string`): The name of the stream provider.
- `streamId` (`StreamId`): The stream ID.
- `inactivityPeriod` (`TimeSpan`): The configured inactivity period.
- `siloAddress` (`SiloAddress?`): The address of the silo where this occurred.
