# StreamIdentity Constructors

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

## StreamIdentity(Guid, string) {#constructor-system-guid-string-fcf28bc1}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.streamidentity/constructors/constructor-system-guid-string-fcf28bc1/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/Core/StreamIdentity.cs#L23-L27)

```csharp
public StreamIdentity(Guid streamGuid, string streamNamespace)
```

Initializes a new instance of the [StreamIdentity](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.streamidentity/) class.

### Parameters

- `streamGuid` (`Guid`): The stream unique identifier.
- `streamNamespace` (`string`): The stream namespace.
