PostSharp//API Reference/Post­Sharp.​Aspects/IEvent­Binding/Remove­Handler
Open sandboxFocus

Method RemoveHandler

RemoveHandler(ref Object, Delegate)

Invoke the Remove semantic on the next node in the chain of invocation.

Declaration
void RemoveHandler(ref object instance, Delegate handler)
Parameters
Type Name Description
Object instance

Target instance on which the event is defined (null if the event is static).

Delegate handler

Handler to be removed from the event.