CustomMonitoringEvent Constructor (String, Int32)

Updated: April 16, 2012

Initializes a new CustomMonitoringEvent object. Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim publisherName As String Dim eventNumber As Integer Dim instance As New CustomMonitoringEvent(publisherName, eventNumber)Public Sub New ( _ publisherName As String, _ eventNumber As Integer _ )public CustomMonitoringEvent ( string publisherName, int eventNumber )public: CustomMonitoringEvent ( String^ publisherName, int eventNumber )public CustomMonitoringEvent ( String publisherName, int eventNumber )public function CustomMonitoringEvent ( publisherName : String, eventNumber : int )ParameterspublisherNameThe name of the publisher that will publish the event.eventNumberThe event number for the monitoring event.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms