IStreamProvider.GetStream 方法

定义

重载

GetStream<T>(StreamId)

获取具有指定标识的流。

GetStream<T>(Guid, String)

GetStream<T>(StreamId)

获取具有指定标识的流。

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)

类型参数

T

流元素类型。

参数

streamId
StreamId

流标识符。

返回

流。

适用于

GetStream<T>(Guid, String)

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)

类型参数

T

参数

streamId
Guid
streamNamespace
String

返回

适用于