ClientBuilderExtensions.AddClusterConnectionLostHandler Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Registers a ConnectionToClusterLostHandler event handler.
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
Parameters
- builder
- IClientBuilder
The builder.
- handler
- ConnectionToClusterLostHandler
The handler.
Returns
The builder.