Click or drag to resize

IConstructorInterceptor Methods

The IConstructorInterceptor type exposes the following members.

Methods
  NameDescription
Public methodOnBeforeInitialization
Invoked before the initialization of the class.

This happens before the base call which means that the instance has not been created yet. Use this with care.

Public methodOnEnter
Invoked if an intercepted contructor has been called.
Public methodOnException
Invoked if an intercepted construtor has raised an exception. The constructor will always rethrow the exception.
Public methodOnExit
Invoked if the intercepted constructor has finished executing.
Top
See Also