ClientBuilderExtensions.AddClusterConnectionLostHandler 方法

定义

ConnectionToClusterLostHandler注册事件处理程序。

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

参数

builder
IClientBuilder

生成器。

handler
ConnectionToClusterLostHandler

处理程序。

返回

生成器。

适用于