PersistentStreamProvider.GetStream 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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>
override this.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:
- PersistentStreamProvider.cs
public Orleans.Streams.IAsyncStream<T> GetStream<T> (Guid id, string streamNamespace);
abstract member GetStream : Guid * string -> Orleans.Streams.IAsyncStream<'T>
override this.GetStream : Guid * string -> Orleans.Streams.IAsyncStream<'T>
Public Function GetStream(Of T) (id As Guid, streamNamespace As String) As IAsyncStream(Of T)
类型参数
- T
参数
- id
- Guid
- streamNamespace
- String