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
)
Sub RaiseEvent (
eventHookId As Guid,
sender As Object,
args As EventArgs
)
void RaiseEvent(
Guid eventHookId,
Object^ sender,
EventArgs^ args
)
abstract RaiseEvent :
eventHookId : Guid *
sender : Object *
args : EventArgs -> unit
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 Exception | Condition |
---|
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.
|
ArgumentNullException | args was . |
See Also