Share via


PartialMonitoringObject.InsertCustomMonitoringEvent Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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)

Usage

'Usage
Dim instance As PartialMonitoringObject
Dim customEvent As CustomMonitoringEvent

instance.InsertCustomMonitoringEvent(customEvent)

Syntax

'Declaration
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
)

Parameters

  • customEvent
    The event to insert.

Example

For an example of the InsertCustomMonitoringEvent method, 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.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

PartialMonitoringObject Class
PartialMonitoringObject Members
Microsoft.EnterpriseManagement.Monitoring Namespace