Click or drag to resize

IMethodInterceptorOnExit.OnExit 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: 1.0.0
Syntax
Object OnExit(
	Type returnType,
	Object returnValue
)

Parameters

returnType
Type: System.Type
The return type of the method.
returnValue
Type: System.Object
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