Share via


CustomMonitoringEvent Class

Definition

A monitoring event that can be inserted into the MOM system.

public ref class CustomMonitoringEvent
[System.Runtime.Serialization.DataContract]
public class CustomMonitoringEvent
type CustomMonitoringEvent = class
Public Class CustomMonitoringEvent
Inheritance
CustomMonitoringEvent
Attributes

Examples

For a code example using the CustomMonitoringEvent class, see How to Insert Custom Event and Performance Data.

Constructors

CustomMonitoringEvent(String, Int32)

Creates a new custom monitoring event.

Properties

Channel

The channel of the Event.

EventData

A property that allows you to associate data with the event.

LevelId

The level id for of this event (e.g. Informational).

LoggingComputer

The computer that logged this event.

Message

The message for the event.

Number

The number of the Event.

OriginalId

The original Id of the Event, as inserted by the SDK.

Parameters

The parameters of the event.

PublisherId

The publisher id of the event.

PublisherName

The publisher name of the event.

TimeGenerated

The time the event was generated. This should be UTC.

User

The user that inserted this event. Current user by default.

Applies to