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

返回

适用于