PartialMonitoringObject.InsertCustomMonitoringEvent Method

Updated: April 16, 2012

Inserts an event that is associated with this monitoring object into the runtime. Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As PartialMonitoringObject Dim customEvent As CustomMonitoringEvent instance.InsertCustomMonitoringEvent(customEvent)Public Sub InsertCustomMonitoringEvent ( _ customEvent As CustomMonitoringEvent _ )public void InsertCustomMonitoringEvent ( CustomMonitoringEvent customEvent )public: void InsertCustomMonitoringEvent ( CustomMonitoringEvent^ customEvent )public void InsertCustomMonitoringEvent ( CustomMonitoringEvent customEvent )public function InsertCustomMonitoringEvent ( customEvent : CustomMonitoringEvent )ParameterscustomEventThe event to insert.

For an example of the InsertCustomMonitoringEvent method, see How to Insert Custom Event and Performance Data

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms