IEventHookServiceRaiseEvent Method (Guid, Object, EventArgs)

Raises an application event.

Namespace:  Dundas.BI
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
void RaiseEvent(
	Guid eventHookId,
	Object? sender,
	EventArgs args
)

Parameters

eventHookId
Type: SystemGuid
The ID of the event hook.
sender
Type: SystemObject
The sender.
args
Type: SystemEventArgs
The EventArgs instance containing the event data.
Exceptions
ExceptionCondition
ArgumentException

eventHookId was Empty.

-or-

An attempt was made to raise a system event but args was not the correct type for the corresponding event. Only thrown if the event has at least one subscriber.

ArgumentNullExceptionargs was .
See Also