PostSharp//API Reference/Post­Sharp.​Aspects/IEvent­Interception­Aspect/On­Remove­Handler
Open sandboxFocus

Method OnRemoveHandler

OnRemoveHandler(EventInterceptionArgs)

Method invoked instead of the Remove semantic of the event to which the current aspect is applied, i.e. when a delegate is removed from this event.

Declaration
[RequiresEventInterceptionAdviceAnalysis]
[RequiresDebuggerEnhancement]
[HasInheritedAttribute]
void OnRemoveHandler(EventInterceptionArgs args)
Parameters
Type Name Description
EventInterceptionArgs args

Handler arguments.