PartialMonitoringObject.InsertCustomMonitoringEvent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts an event associated with this monitoring object into the runtime.
public:
void InsertCustomMonitoringEvent(Microsoft::EnterpriseManagement::Monitoring::CustomMonitoringEvent ^ customEvent);
public void InsertCustomMonitoringEvent (Microsoft.EnterpriseManagement.Monitoring.CustomMonitoringEvent customEvent);
member this.InsertCustomMonitoringEvent : Microsoft.EnterpriseManagement.Monitoring.CustomMonitoringEvent -> unit
Public Sub InsertCustomMonitoringEvent (customEvent As CustomMonitoringEvent)
Parameters
- customEvent
- CustomMonitoringEvent
The event to insert.
Examples
For an example of the InsertCustomMonitoringEvent method, see How to Insert Custom Event and Performance Data