Edit

Share via


StreamProviderExtensions.GetStream Method

Definition

Overloads

GetStream<T>(IStreamProvider, Guid)

Gets the stream with the specified identity and namespace.

GetStream<T>(IStreamProvider, Int64)

Gets the stream with the specified identity and namespace.

GetStream<T>(IStreamProvider, String)

Gets the stream with the specified identity and namespace.

GetStream<T>(IStreamProvider, String, Guid)

Gets the stream with the specified identity and namespace.

GetStream<T>(IStreamProvider, String, Int64)

Gets the stream with the specified identity and namespace.

GetStream<T>(IStreamProvider, String, String)

Gets the stream with the specified identity and namespace.

GetStream<T>(IStreamProvider, Guid)

Gets the stream with the specified identity and namespace.

public static Orleans.Streams.IAsyncStream<T> GetStream<T> (this Orleans.Streams.IStreamProvider streamProvider, Guid id);
static member GetStream : Orleans.Streams.IStreamProvider * Guid -> Orleans.Streams.IAsyncStream<'T>
<Extension()>
Public Function GetStream(Of T) (streamProvider As IStreamProvider, id As Guid) As IAsyncStream(Of T)

Type Parameters

T

The stream element type.

Parameters

streamProvider
IStreamProvider

The stream provider.

id
Guid

The identifier.

Returns

The stream.

Applies to

GetStream<T>(IStreamProvider, Int64)

Gets the stream with the specified identity and namespace.

public static Orleans.Streams.IAsyncStream<T> GetStream<T> (this Orleans.Streams.IStreamProvider streamProvider, long id);
static member GetStream : Orleans.Streams.IStreamProvider * int64 -> Orleans.Streams.IAsyncStream<'T>
<Extension()>
Public Function GetStream(Of T) (streamProvider As IStreamProvider, id As Long) As IAsyncStream(Of T)

Type Parameters

T

The stream element type.

Parameters

streamProvider
IStreamProvider

The stream provider.

id
Int64

The identifier.

Returns

The stream.

Applies to

GetStream<T>(IStreamProvider, String)

Gets the stream with the specified identity and namespace.

public static Orleans.Streams.IAsyncStream<T> GetStream<T> (this Orleans.Streams.IStreamProvider streamProvider, string id);
static member GetStream : Orleans.Streams.IStreamProvider * string -> Orleans.Streams.IAsyncStream<'T>
<Extension()>
Public Function GetStream(Of T) (streamProvider As IStreamProvider, id As String) As IAsyncStream(Of T)

Type Parameters

T

The stream element type.

Parameters

streamProvider
IStreamProvider

The stream provider.

id
String

The identifier.

Returns

The stream.

Applies to

GetStream<T>(IStreamProvider, String, Guid)

Gets the stream with the specified identity and namespace.

public static Orleans.Streams.IAsyncStream<T> GetStream<T> (this Orleans.Streams.IStreamProvider streamProvider, string ns, Guid id);
static member GetStream : Orleans.Streams.IStreamProvider * string * Guid -> Orleans.Streams.IAsyncStream<'T>
<Extension()>
Public Function GetStream(Of T) (streamProvider As IStreamProvider, ns As String, id As Guid) As IAsyncStream(Of T)

Type Parameters

T

The stream element type.

Parameters

streamProvider
IStreamProvider

The stream provider.

ns
String

The namespace.

id
Guid

The identifier.

Returns

The stream.

Applies to

GetStream<T>(IStreamProvider, String, Int64)

Gets the stream with the specified identity and namespace.

public static Orleans.Streams.IAsyncStream<T> GetStream<T> (this Orleans.Streams.IStreamProvider streamProvider, string ns, long id);
static member GetStream : Orleans.Streams.IStreamProvider * string * int64 -> Orleans.Streams.IAsyncStream<'T>
<Extension()>
Public Function GetStream(Of T) (streamProvider As IStreamProvider, ns As String, id As Long) As IAsyncStream(Of T)

Type Parameters

T

The stream element type.

Parameters

streamProvider
IStreamProvider

The stream provider.

ns
String

The namespace.

id
Int64

The identifier.

Returns

The stream.

Applies to

GetStream<T>(IStreamProvider, String, String)

Gets the stream with the specified identity and namespace.

public static Orleans.Streams.IAsyncStream<T> GetStream<T> (this Orleans.Streams.IStreamProvider streamProvider, string ns, string id);
static member GetStream : Orleans.Streams.IStreamProvider * string * string -> Orleans.Streams.IAsyncStream<'T>
<Extension()>
Public Function GetStream(Of T) (streamProvider As IStreamProvider, ns As String, id As String) As IAsyncStream(Of T)

Type Parameters

T

The stream element type.

Parameters

streamProvider
IStreamProvider

The stream provider.

ns
String

The namespace.

id
String

The identifier.

Returns

The stream.

Applies to