Freigeben über


ChannelHostingExtensions.AddBroadcastChannel Methode

Definition

Überlädt

AddBroadcastChannel(IClientBuilder, String, Action<OptionsBuilder<BroadcastChannelOptions>>)

Fügen Sie dem Client einen neuen Broadcastkanal hinzu.

AddBroadcastChannel(IClientBuilder, String, Action<BroadcastChannelOptions>)

Fügen Sie dem Client einen neuen Broadcastkanal hinzu.

AddBroadcastChannel(ISiloBuilder, String, Action<OptionsBuilder<BroadcastChannelOptions>>)

Fügen Sie dem Silo einen neuen Broadcastkanal hinzu.

AddBroadcastChannel(ISiloBuilder, String, Action<BroadcastChannelOptions>)

Fügen Sie dem Silo einen neuen Broadcastkanal hinzu.

AddBroadcastChannel(IClientBuilder, String, Action<OptionsBuilder<BroadcastChannelOptions>>)

Fügen Sie dem Client einen neuen Broadcastkanal hinzu.

public static Orleans.Hosting.IClientBuilder AddBroadcastChannel (this Orleans.Hosting.IClientBuilder this, string name, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.BroadcastChannel.BroadcastChannelOptions>> configureOptions = default);
static member AddBroadcastChannel : string * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.BroadcastChannel.BroadcastChannelOptions>> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function AddBroadcastChannel (this As IClientBuilder, name As String, Optional configureOptions As Action(Of OptionsBuilder(Of BroadcastChannelOptions)) = Nothing) As IClientBuilder

Parameter

this
IClientBuilder

Der Generator.

name
String

Der Name des Anbieters.

configureOptions
Action<OptionsBuilder<BroadcastChannelOptions>>

Der Konfigurationsdelegat.

Gibt zurück

Gilt für:

AddBroadcastChannel(IClientBuilder, String, Action<BroadcastChannelOptions>)

Fügen Sie dem Client einen neuen Broadcastkanal hinzu.

public static Orleans.Hosting.IClientBuilder AddBroadcastChannel (this Orleans.Hosting.IClientBuilder this, string name, Action<Orleans.BroadcastChannel.BroadcastChannelOptions> configureOptions);
static member AddBroadcastChannel : string * Action<Orleans.BroadcastChannel.BroadcastChannelOptions> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function AddBroadcastChannel (this As IClientBuilder, name As String, configureOptions As Action(Of BroadcastChannelOptions)) As IClientBuilder

Parameter

this
IClientBuilder

Der Generator.

name
String

Der Name des Anbieters.

configureOptions
Action<BroadcastChannelOptions>

Der Konfigurationsdelegat.

Gibt zurück

Gilt für:

AddBroadcastChannel(ISiloBuilder, String, Action<OptionsBuilder<BroadcastChannelOptions>>)

Fügen Sie dem Silo einen neuen Broadcastkanal hinzu.

public static Orleans.Hosting.ISiloBuilder AddBroadcastChannel (this Orleans.Hosting.ISiloBuilder this, string name, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.BroadcastChannel.BroadcastChannelOptions>> configureOptions = default);
static member AddBroadcastChannel : string * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.BroadcastChannel.BroadcastChannelOptions>> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddBroadcastChannel (this As ISiloBuilder, name As String, Optional configureOptions As Action(Of OptionsBuilder(Of BroadcastChannelOptions)) = Nothing) As ISiloBuilder

Parameter

this
ISiloBuilder

Der Generator.

name
String

Der Name des Anbieters.

configureOptions
Action<OptionsBuilder<BroadcastChannelOptions>>

Der Konfigurationsdelegat.

Gibt zurück

Gilt für:

AddBroadcastChannel(ISiloBuilder, String, Action<BroadcastChannelOptions>)

Fügen Sie dem Silo einen neuen Broadcastkanal hinzu.

public static Orleans.Hosting.ISiloBuilder AddBroadcastChannel (this Orleans.Hosting.ISiloBuilder this, string name, Action<Orleans.BroadcastChannel.BroadcastChannelOptions> configureOptions);
static member AddBroadcastChannel : string * Action<Orleans.BroadcastChannel.BroadcastChannelOptions> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddBroadcastChannel (this As ISiloBuilder, name As String, configureOptions As Action(Of BroadcastChannelOptions)) As ISiloBuilder

Parameter

this
ISiloBuilder

Der Generator.

name
String

Der Name des Anbieters.

configureOptions
Action<BroadcastChannelOptions>

Der Konfigurationsdelegat.

Gibt zurück

Gilt für: