Microsoft Internet Security and Acceleration Server 2000 |
Used by ISA services to signal n instances of an event, as part of the alert service. If an alert exists for the event and the event is in a state where it can trigger an alert, actions will be taken to notify the event. Third-party application filters can also use this method to signal instances of an event.
FPCAlertNotification.Signal_N_Events( sGuid, sServerName, lAdditionalKey, lEventsCount, sShortDesc, bstrLongDesc, lEventID, sEventSource, varEventStrings, varEventData, shEventCategory, shEventType)
HRESULT Signal_N_Events( BSTR sGuid, BSTR sServerName, long lAdditionalKey, long lEventsCount, BSTR sShortDesc, BSTR sLongDesc, long lEventID, BSTR sEventSource, VARIANT varEventStrings, VARIANT varEventData, short shEventCategory, short shEventType );
The parameter sEventSource is similar to the lpSourceName parameter of the Win32 RegisterEventSource function. Other parameters for this function are similar to parameters in the Win32 function ReportEvent, as shown in the following table. For more information, see the relevant function in MSDN.
Signal_N_Events Parameter | ReportEvent Parameter |
---|---|
lEventID | dwEventID |
varEventStrings | lpStrings |
varEventData | lpRawData |
shEventCategory | wCategory |
shEventType | wType |
Note When you use the Signal_N_Events method, you must keep track of the time in which the n instances take place because the alert service assumes that the n instances all occurred at the last second. This differs from the SignalEvent, in which the alert service tracks the time.