Compartir a través de


WMS_Server_Event Class

The WMS_Server_Event class indicates that the status of the server has changed. The following table identifies the properties of this class.

Display name

Property name

Data type

Value

Description

Sub-event

SubEvent

uint32

Indicates a specific server event.

Online=0

The Windows Media server has started.

Offline=1

The Windows Media server has stopped. This event is sent only for normal shutdown.

Critical Error=2

An authentication or authorization plug-in failed. The server stops allowing new connections and stops existing connections from requesting content for which authorization is required.

Property Change=3

An item was added or changed in the IWMSNamedValues collection. The name of the IWMSNamedValue object in the collection is indicated by the PropertyName property. The previous and new values are indicated in the command context by the OldValue and NewValue properties respectively

Allow Clients to Connect Change=4

The AllowClientsToConnect property on the IWMSServer interface has changed. The previous and new values are contained in the OldValue and NewValue properties respectively.

Plugin Load Type Change=5

The DefaultPluginLoadType property on the IWMSServer interface has changed. The previous and new values are contained in the OldValue and NewValue properties respectively.

Reverse Proxy Mode=6

The EnableReverseProxyMode property on the IWMSServer interface has changed. The previous and new values are contained in the OldValue and NewValue properties respectively.

Download Start=7

The DownloadContent method on the IWMSServer interface was called.

Download Complete=8

The DownloadContent method on the IWMSServer interface has completed.

Property Name

PropertyName

String

Contains the name portion of the name-value pair in the IWMSNamedValue interface that changed.

Old Value

OldValue

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

New Value

NewValue

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

See Also

Concepts

External Events