WMS_EVENT_PLUGIN
Previous | Next |
WMS_EVENT_PLUGIN
A plug-in event has occurred. You can determine the exact nature of the event by examining the WMS_COMMAND_CONTEXT_EVENT value in the command context. This will contain a value from the WMS_PLUGIN_EVENT_TYPE enumeration type, as shown in the following table.
Value | Description |
WMS_EVENT_PLUGIN_ADD | The server attempted to add or duplicate a plug-in. You can use the HRESULT from the WMS_EVENT structure to determine whether the attempt succeeded. |
WMS_EVENT_PLUGIN_REMOVE | The server attempted to remove a plug-in. Note that the server does not allow you to remove the last instance of a plug-in programmatically. You can use the HRESULT from the WMS_EVENT structure to determine whether the attempt succeeded. |
WMS_EVENT_PLUGIN_ENABLE | The server attempted to enable a plug-in. You can use the HRESULT from the WMS_EVENT structure to determine whether the attempt succeeded. |
WMS_EVENT_PLUGIN_DISABLE | The server attempted to disable a plug-in. You can use the HRESULT from the WMS_EVENT structure to determine whether the attempt succeeded. |
WMS_EVENT_PLUGIN_PROPERTY_CHANGE | An item was added or changed in the IWMSNamedValues collection. The previous and new values are indicated in the command context by the @WMS_COMMAND_CONTEXT_EVENT_OLD_VALUE and the @WMS_COMMAND_CONTEXT_EVENT_NEW_VALUE values respectively. The @WMS_COMMAND_CONTEXT_EVENT_PROPERTY_NAME value in the command context is set to the name of the property that was altered. |
WMS_EVENT_PLUGIN_ERROR | A plug-in error occurred. If the plug-in is running, it must send this event notice by calling the IWMSEventLog interface. The server intercepts the call and raises the event. The server also sends the event notice if the plug-in is not running and the server cannot either load or enable it. When this event is sent for either an authorization or authentication plug-in, the server will not allow new client connections and will stop clients already connected from accessing content for which an authorization is required. |
WMS_EVENT_PLUGIN_NAME_CHANGE | The Name property for the plug-in changed. The previous and new values are indicated in the command context by the @WMS_COMMAND_CONTEXT_EVENT_OLD_VALUE and the @WMS_COMMAND_CONTEXT_EVENT_NEW_VALUE values respectively. |
WMS_EVENT_PLUGIN_LOAD_TYPE_CHANGE | The LoadType property for the plug-in changed. The previous and new values are indicated in the command context by the @WMS_COMMAND_CONTEXT_EVENT_OLD_VALUE and the @WMS_COMMAND_CONTEXT_EVENT_NEW_VALUE values respectively. |
WMS_EVENT_PLUGIN_SELECTION_ORDER_CHANGE | The SelectionOrder property for the plug-in changed. The previous and new values are indicated in the command context by the @WMS_COMMAND_CONTEXT_EVENT_OLD_VALUE and the @WMS_COMMAND_CONTEXT_EVENT_NEW_VALUE values respectively. |
See Also (General)
See Also (Visual Basic .NET)
See Also (C#)
See Also (C++)
Previous | Next |