# SubscriptionDetached Constructors

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

## SubscriptionDetached(string, StreamId, Guid, SiloAddress?) {#constructor-string-orleans-runtime-streamid-system-guid-orleans-runtime-siloaddr-c6bc068f}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streaming.diagnostics.streamingevents.subscriptiondetached/constructors/constructor-string-orleans-runtime-streamid-system-guid-orleans-runtime-siloaddr-c6bc068f/)

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

```csharp
public SubscriptionDetached(string streamProvider, StreamId streamId, Guid subscriptionId, SiloAddress? siloAddress)
```

Event payload for when a stream subscription is detached from a pulling agent.

### Parameters

- `streamProvider` (`string`): The name of the stream provider.
- `streamId` (`StreamId`): The stream ID.
- `subscriptionId` (`Guid`): The subscription ID.
- `siloAddress` (`SiloAddress?`): The address of the silo handling this detachment.
