共用方式為


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

處理常式。

傳回

產生器。

適用於