Udostępnij za pośrednictwem


CustomMonitoringEvent Constructor (String, Int32)

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

Initializes a new CustomMonitoringEvent object.

Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim publisherName As String
Dim eventNumber As Integer

Dim instance As New CustomMonitoringEvent(publisherName, eventNumber)

Syntax

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

Parameters

  • publisherName
    The name of the publisher that will publish the event.
  • eventNumber
    The event number for the monitoring event.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

CustomMonitoringEvent Class
CustomMonitoringEvent Members
Microsoft.EnterpriseManagement.Monitoring Namespace