Using the IWMSServer Object to Identify Errors
You can call the Status property on the IWMSServer interface to determine whether a critical or non-critical error has occurred. The property retrieves a value from the WMS_SERVER_STATUS enumeration type. This must be one of the following values.
Value |
Description |
---|---|
WMS_SERVER_RUNNING |
The server is running. |
WMS_SERVER_ERROR |
An error has occurred in a plug-in object loaded at the server level. |
WMS_SERVER_ERROR_CRITICAL |
An error has occurred in a server-level authentication or authorization plug-in. The server will not allow new connections or authorize new actions for connected clients. |
When an error occurs, you can walk through each server-level plug-in to determine which plug-in has failed. You can call the Status property on the IWMSPlugin interface to retrieve error information about the plug-in. For more information, see Using the IWMSPlugin Object to Identify ErrorsIWMSPluginUsing the IWMSPlugin Object to Identify Errors.
See Also (General)
See Also (Visual Basic .NET)
IWMSPluginIWMSPlugin Object (Visual Basic .NET)
IWMSServerIWMSServer Object (Visual Basic .NET)
See Also (C#)
IWMSPluginIWMSPlugin Object (C#)
IWMSServerIWMSServer Object (C#)
See Also (C++)
IWMSPluginIWMSPlugin Interface
IWMSServerIWMSServer Interface