IStreamProvider.GetStream Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
GetStream<T>(StreamId) |
Gets the stream with the specified identity. |
GetStream<T>(Guid, String) |
Gets the stream with the specified identity.
public Orleans.Streams.IAsyncStream<T> GetStream<T> (Orleans.Runtime.StreamId streamId);
abstract member GetStream : Orleans.Runtime.StreamId -> Orleans.Streams.IAsyncStream<'T>
Public Function GetStream(Of T) (streamId As StreamId) As IAsyncStream(Of T)
Type Parameters
- T
The stream element type.
Parameters
- streamId
- StreamId
The stream identifier.
Returns
The stream.
Applies to
- Source:
- IStreamProvider.cs
public Orleans.Streams.IAsyncStream<T> GetStream<T> (Guid streamId, string streamNamespace);
abstract member GetStream : Guid * string -> Orleans.Streams.IAsyncStream<'T>
Public Function GetStream(Of T) (streamId As Guid, streamNamespace As String) As IAsyncStream(Of T)
Type Parameters
- T
Parameters
- streamId
- Guid
- streamNamespace
- String