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)
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