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.
Overloads
AddClusterConnectionLostHandler(IClientBuilder, ConnectionToClusterLostHandler)
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.
Applies to
AddClusterConnectionLostHandler(IClientBuilder, Func<IServiceProvider,ConnectionToClusterLostHandler>)
Registers a ConnectionToClusterLostHandler event handler.
public static Orleans.Hosting.IClientBuilder AddClusterConnectionLostHandler(this Orleans.Hosting.IClientBuilder builder, Func<IServiceProvider,Orleans.ConnectionToClusterLostHandler> handlerFactory);
static member AddClusterConnectionLostHandler : Orleans.Hosting.IClientBuilder * Func<IServiceProvider, Orleans.ConnectionToClusterLostHandler> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function AddClusterConnectionLostHandler (builder As IClientBuilder, handlerFactory As Func(Of IServiceProvider, ConnectionToClusterLostHandler)) As IClientBuilder
Parameters
- builder
- IClientBuilder
The builder.
- handlerFactory
- Func<IServiceProvider,ConnectionToClusterLostHandler>
The handler factory.
Returns
The builder.