Share via


WMI Events for DCS

The following table summarizes the WMI event classes available through the DCS WMI provider.

Event Class

Description

Properties

CFF_CacheRefreshedEvent

This event occurs whenever the DCS service updates the response cache for a client application.

AppDomain

Machine

ProcessId

ProcessName

ThreadId

UtcTimeStamp

CFF_ExceptionEvent

This event occurs whenever a DCS service throws an exception. The ErrorMessage, ExceptionMessage, and InnerExceptionMessage properties indicate the reason for the exception. The MethodName, ClassName, and AssemblyName properties indicate the source of the exception.

AppDomain

AssemblyName

ClassName

ErrorMessage

ExceptionMessage

InnerExceptionMessage

Machine

MethodName

ProcessId

ProcessName

ThreadId

UtcTimeStamp

CFF_InformationEvent

This event occurs whenever a DCS service generates an information event. The InformationMessage property contains the data for the information event. The MethodName, ClassName, and AssemblyName properties indicate the source of the information event.

AppDomain

AssembyName

ClassName

InformationMessage

Machine

MethodName

ProcessId

ProcessName

ThreadId

UtcTimeStamp

CFF_TaskActivatedEvent

This event occurs whenever the DCS service creates a new task instance, or activates an existing task instance when it receives a request message from a client application. The Request property identifies the request message that activated the task.

AppDomain

AssemblyName

ClassName

Machine

MethodName

ProcessId

ProcessName

Request

ThreadId

UtcTmeStamp

CFF_TaskDeactivatedEvent

This event occurs whenever the DCS service deactivates a task instance when it sends a response message to a client application. The Response property identifies the response message that is transmitted to the client application.

AppDomain

AssmblyName

ClassName

Machine

MethodName

ProcessId

ProcessName

Response

Successed

ThreadId

Time

UtcTimeStamp

CFF_WarningEvent

This event occurs whenever a DCS service generates an warning event. The WarningMessage property contains the data for the information event. The MethodName, ClassName, and AssemblyName properties indicate the source of the warning event.

AppDomain

AssemblyName

ClassName

Machine

MethodName

ProcessId

ProcessName

ThreadId

UtcTimeStamp

WarningMessage

The table below describes the properties referenced by the event classes.

Property

Type

Description

AppDomain

String

The application domain hosting the DCS service.

AssemblyName

String

The assembly containing the code that the DCS service is running.

ClassName

String

The class in the assembly containing the code that the DCS service is running.

ErrorMessage

String

The text of the error message associated with an exception that caused a CFF_ExceptionEvent.

ExceptionMessage

String

The detailed text of the exception message for an exception that caused a CFF_ExceptionEvent.

InnerExceptionMessage

String

The inner exception message associated with an exception that caused a CFF_ExceptionEvent.

InformationMessage

String

The text of the information message that caused a CFF_InformationEvent.

Machine

String

The name of the computer running the DCS service.

MethodName

String

The name of the method containing the code that the DCS service is running.

ProcessId

String

The process ID of the host process running the DCS service.

ProcessName

String

The name of the executable program that the host process is running.

Request

String

The request message sent by a client application to the DCS service.

Response

String

The response message sent by the DCS service to the client application.

Successed

Boolean

A Boolean indicating whether a task completed successfully in the CFF_ClassDeactivatedEvent raised by a DCS service.

ThreadId

32-bit Signed Integer

The ID of the thread that raised the WMI event in the DCS service.

Time

64-bit Signed Integer

The time taken to execute a task, it is reported by the CFF_TaskDeactivatedEvent WMI event.

UtcTimeStamp

DateTime

The date and time that the WMI event was generated, in UTC format.

WarningMessage

String

The text of the warning message that caused a CFF_WarningEvent.

See Also

Raising DCS WMI Events

Capturing DCS Service WMI Events