Documentation
Table of Contents

Method AddEnvironmentChangeHandler

Namespace
IntentSharp
Assembly
IntentSharp.dll

AddEnvironmentChangeHandler(IEnvironmentChangeHandler)

Adds a handler the client runs for every change it finds in its environment: a target's schema, a document in its document store, the provider options. Handlers run in the order they were added, before the operation that found the change continues, each under the environment.handlerTimeout setting; see IEnvironmentChangeHandler. Adding the same instance again changes nothing.

public IntentClientBuilder AddEnvironmentChangeHandler(IEnvironmentChangeHandler handler)

Parameters

handler IEnvironmentChangeHandler

The handler.

Returns

IntentClientBuilder

Exceptions

ArgumentNullException

handler is null.