Redigera

Dela via


ClientBuilderExtensions.AddClusterConnectionLostHandler Method

Definition

Registers a ConnectionToClusterLostHandler event handler.

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

Parameters

builder
IClientBuilder

The builder.

handler
ConnectionToClusterLostHandler

The handler.

Returns

The builder.

Applies to