GrainStreamingExtensions.GetStreamProvider Method
Definition
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.
Overloads
GetStreamProvider(Grain, String) |
Gets the stream provider with the specified |
GetStreamProvider(IGrainBase, String) |
Gets the stream provider with the specified |
GetStreamProvider(Grain, String)
Gets the stream provider with the specified name
.
public static Orleans.Streams.IStreamProvider GetStreamProvider (this Orleans.Grain grain, string name);
static member GetStreamProvider : Orleans.Grain * string -> Orleans.Streams.IStreamProvider
<Extension()>
Public Function GetStreamProvider (grain As Grain, name As String) As IStreamProvider
Parameters
- grain
- Grain
The grain.
- name
- String
The provider name.
Returns
The stream provider.
Applies to
GetStreamProvider(IGrainBase, String)
Gets the stream provider with the specified name
.
public static Orleans.Streams.IStreamProvider GetStreamProvider (this Orleans.IGrainBase grain, string name);
static member GetStreamProvider : Orleans.IGrainBase * string -> Orleans.Streams.IStreamProvider
<Extension()>
Public Function GetStreamProvider (grain As IGrainBase, name As String) As IStreamProvider
Parameters
- grain
- IGrainBase
The grain.
- name
- String
The provider name.
Returns
The stream provider.