IConstructorInterceptor Methods |
The IConstructorInterceptor type exposes the following members.
| Name | Description | |
|---|---|---|
| OnBeforeInitialization |
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.
| |
| OnEnter |
Invoked if an intercepted contructor has been called.
| |
| OnException |
Invoked if an intercepted construtor has raised an exception. The constructor will always rethrow
the exception.
| |
| OnExit |
Invoked if the intercepted constructor has finished executing.
|