WMS_Plugin_Event Class

The WMS_Plugin_Event class indicates changes in the status of a plug-in. The following table identifies the properties of this class.

Display name

Property name

Data type

Value

Description

Sub-event

SubEvent

uint32

Indicates a specific plug-in event.

Add=0

The server attempted to either add or clone a plug-in. You can use the ErrorStr property from the WMS_Common_Event_Info class to determine whether the attempt succeeded.

Remove=1

The server attempted to remove a plug-in. You can use the ErrorStr property from the WMS_Common_Event_Info class to determine whether the attempt succeeded.

Enable=2

The server attempted to enable a plug-in. You can use the ErrorStr property from the WMS_Common_Event_Info class to determine whether the attempt succeeded.

Disable=3

The server attempted to disable a plug-in. You can use the ErrorStr property from the WMS_Common_Event_Info class to determine whether the attempt succeeded.

Property Change=4

An item was added or changed in the IWMSNamedValues collection. The previous and new values are contained in the OldValue and NewValue properties respectively. The PropertyName property contains the name of the property.

Error=5

Indicates that a plug-in error occurred. When this event is sent for an authentication or authorization, the server stops allowing new connections and stops existing connections from requesting content for which authorization is required.

Name Change=6

The Name property for the plug-in changed. The previous and new values are contained in the OldValue and NewValue properties respectively.

Load Type Change=7

The LoadType property for the plug-in changed. The previous and new values are contained in the OldValue and NewValue properties respectively.

Selection Order Change=8

The SelectionOrder property for the plug-in changed. The previous and new values are contained in the OldValue and NewValue properties respectively.

Plug-in Name

Plug-inName

String

Contains the name of the plug-in.

Plug-in Moniker

Plug-inMoniker

String

Contains the moniker display name of the plug-in.

Publishing Point Name

PublishingPointName

String

Contains the name of the publishing point where the plug-in is located. This property is NULL if the plug-in is located on the IWMServer object.

Publishing Point Moniker

PublishingPointMoniker

String

Contains the moniker of the publishing point where the plug-in is located. This property is NULL if the plug-in is located on the IWMSServer object.

Administrator Name

AdministratorName

String

Contains the name of the administrator that caused the event.

Old Value

OldValue

sint32

Contains the old value for a changed property. For a Boolean value True = 1 and False = 0.

New Value

NewValue

sint32

Contains the new value for a changed property. For a Boolean value True = 1 and False = 0.

Property Name

PropertyName

String

Contains the name of the IWMSNamedValue object that changed.

See Also (General)

See Also (Visual Basic .NET)

See Also (C#)

See Also (C++)