PostSharpAPI ReferencePost­Sharp.​AspectsEvent­Interception­AspectOn­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]
[EventInterceptionAdviceOptimization]
public virtual void OnRemoveHandler(EventInterceptionArgs args)
Parameters
Type Name Description
EventInterceptionArgs args

Handler arguments.

Implements
IEventInterceptionAspect.OnRemoveHandler(EventInterceptionArgs)