CustomMonitoringEvent Class
Applies To: Operations Manager for System Center 2012
Represents a custom monitoring event that can be inserted into the Operations Manager system.
Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Inheritance Hierarchy
System.Object
Microsoft.EnterpriseManagement.Monitoring.CustomMonitoringEvent
Syntax
[DataContractAttribute]
public class CustomMonitoringEvent
[DataContractAttribute]
public ref class CustomMonitoringEvent
[<DataContractAttribute>]
type CustomMonitoringEvent = class end
<DataContractAttribute>
Public Class CustomMonitoringEvent
Constructors
Name | Description | |
---|---|---|
CustomMonitoringEvent(String, Int32) | Initializes a new CustomMonitoringEvent object. |
Properties
Name | Description | |
---|---|---|
Channel | Gets or sets the name of the channel that the event gets published in. |
|
EventData | Gets or sets the data for the event. |
|
LevelId | Gets or sets the identifier for the level of the event. |
|
LoggingComputer | Gets or sets the name of the computer that logged the event. |
|
Message | Gets or sets the event message. |
|
Number | Gets the number of the event. |
|
OriginalId | Gets the original globally unique identifier (GUID) for the event. |
|
Parameters | Gets a list of parameters for the event. |
|
PublisherId | Gets the globally unique identifier (GUID) for the event publisher. |
|
PublisherName | Gets the event publisher name. |
|
TimeGenerated | Gets or sets the time, in UTC DateTime format, that the event was generated. |
|
User | Gets or sets the user that inserted the event. The current user is the default value. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Examples
For a code example using the CustomMonitoringEvent class, see How to Insert Custom Event and Performance Data.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.EnterpriseManagement.Monitoring Namespace
Return to top