IVMVirtualServerEvents::OnServiceEvent method
The OnServiceEvent method is called when a Virtual Server service event occurs.
Syntax
HRESULT OnServiceEvent(
[in] long logMessageID
);
Parameters
-
logMessageID [in]
-
The message identifier of the event log message that was logged.
Return value
A 32-bit value that describes an error or warning.
Remarks
This method is called when Virtual Server logs a service event message to the Windows event log. Service event log messages are a subset of the event log messages generated by Virtual Server and include events such as Virtual Server starting, stopping, running out of memory, experiencing a fatal error, and others.
The client program must implement this interface method to receive notification of the vmVirtualServerEvent_ServiceEvent event originating from IVMVirtualServer.
To be notified when Virtual Server logs any event log message, use the OnEventLogged method.
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|