EventHelperRaiseQuicklyTEventArgs Method (EventHandlerTEventArgs, Object, TEventArgs) |
Raises an event for an event handler. This is 6x to 9x faster than the Raise methods but, unlike those methods, if one of
the event handlers throws an exception then no further handlers are called.
Namespace: VirtualRadar.InterfaceAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static void RaiseQuickly<TEventArgs>(
EventHandler<TEventArgs> eventHandler,
Object sender,
TEventArgs args
)
where TEventArgs : EventArgs
Public Shared Sub RaiseQuickly(Of TEventArgs As EventArgs) (
eventHandler As EventHandler(Of TEventArgs),
sender As Object,
args As TEventArgs
)
public:
generic<typename TEventArgs>
where TEventArgs : EventArgs
static void RaiseQuickly(
EventHandler<TEventArgs>^ eventHandler,
Object^ sender,
TEventArgs args
)
static member RaiseQuickly :
eventHandler : EventHandler<'TEventArgs> *
sender : Object *
args : 'TEventArgs -> unit when 'TEventArgs : EventArgs
Parameters
- eventHandler
- Type: SystemEventHandlerTEventArgs
- sender
- Type: SystemObject
- args
- Type: TEventArgs
Type Parameters
- TEventArgs
See Also