共用方式為


ClientBuilderExtensions.AddGatewayCountChangedHandler 方法

定義

GatewayCountChangedHandler註冊事件處理常式。

public static Orleans.Hosting.IClientBuilder AddGatewayCountChangedHandler (this Orleans.Hosting.IClientBuilder builder, Orleans.GatewayCountChangedHandler handler);
static member AddGatewayCountChangedHandler : Orleans.Hosting.IClientBuilder * Orleans.GatewayCountChangedHandler -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function AddGatewayCountChangedHandler (builder As IClientBuilder, handler As GatewayCountChangedHandler) As IClientBuilder

參數

builder
IClientBuilder

傳回

適用於