Removes the specified event handler delegate from the specified event source.
- target
- An object that represents an event source.
- handler
- A Delegate instance to be disassociated from the events reflected by the current instance that are raised by target.
Type Reason ArgumentException handler is not the same type Type as the event handler delegate declared for the event reflected by the current instance.
After this method is invoked, subsequent events reflected by the current instance that are raised by target will no longer cause handler to invoke its methods.
Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0