共用方式為


ClientBuilderExtensions.AddClusterConnectionLostHandler 方法

定義

ConnectionToClusterLostHandler註冊事件處理常式。

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

參數

builder
IClientBuilder

產生器。

handler
ConnectionToClusterLostHandler

處理常式。

傳回

產生器。

適用於