OrleansServiceExtensions.WithBroadcastChannel 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
WithBroadcastChannel(OrleansService, String) |
Adds a broadcast channel provider to the Orleans service. |
WithBroadcastChannel(OrleansService, String, IProviderConfiguration) |
Adds a broadcast channel provider to the Orleans service. |
WithBroadcastChannel(OrleansService, String)
- Source:
- OrleansServiceExtensions.cs
- Source:
- OrleansServiceExtensions.cs
Adds a broadcast channel provider to the Orleans service.
public static Aspire.Hosting.Orleans.OrleansService WithBroadcastChannel (this Aspire.Hosting.Orleans.OrleansService orleansServiceBuilder, string name);
static member WithBroadcastChannel : Aspire.Hosting.Orleans.OrleansService * string -> Aspire.Hosting.Orleans.OrleansService
<Extension()>
Public Function WithBroadcastChannel (orleansServiceBuilder As OrleansService, name As String) As OrleansService
Parameters
- orleansServiceBuilder
- OrleansService
The target Orleans service builder.
- name
- String
The name of the provider. This is the name the application will use to resolve the provider.
Returns
>The Orleans service builder.
Applies to
WithBroadcastChannel(OrleansService, String, IProviderConfiguration)
- Source:
- OrleansServiceExtensions.cs
- Source:
- OrleansServiceExtensions.cs
Adds a broadcast channel provider to the Orleans service.
public static Aspire.Hosting.Orleans.OrleansService WithBroadcastChannel (this Aspire.Hosting.Orleans.OrleansService orleansServiceBuilder, string name, Aspire.Hosting.Orleans.IProviderConfiguration provider);
static member WithBroadcastChannel : Aspire.Hosting.Orleans.OrleansService * string * Aspire.Hosting.Orleans.IProviderConfiguration -> Aspire.Hosting.Orleans.OrleansService
<Extension()>
Public Function WithBroadcastChannel (orleansServiceBuilder As OrleansService, name As String, provider As IProviderConfiguration) As OrleansService
Parameters
- orleansServiceBuilder
- OrleansService
The target Orleans service builder.
- name
- String
The name of the provider. This is the name the application will use to resolve the provider.
- provider
- IProviderConfiguration
The provider to add.
Returns
>The Orleans service builder.