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.
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.