Click or drag to resize

IMethodInterceptorOnExitOnExit Method

Invoked if the intercepted method has finished executing. Renders the OnExit useless. If the returnType is a Void, then returnValue is null.

Namespace:  Cauldron.Interception
Assembly:  Cauldron.Interception (in Cauldron.Interception.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
Object OnExit(
	Type returnType,
	Object returnValue
)

Parameters

returnType
Type: SystemType
The return type of the method.
returnValue
Type: SystemObject
The return value of the method.

Return Value

Type: Object
The return value of the method.
Examples
public object OnExit(Type returnType, object returnValue)
{
    return returnValue;
}
See Also