Share via


CustomMonitoringEvent Constructor (String, Int32)

 

Applies To: Operations Manager for System Center 2012

Initializes a new CustomMonitoringEvent object.

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

Syntax

public CustomMonitoringEvent(
    string publisherName,
    int eventNumber
)
public:
CustomMonitoringEvent(
    String^ publisherName,
    int eventNumber
)
new : 
        publisherName:string *
        eventNumber:int -> CustomMonitoringEvent
Public Sub New (
    publisherName As String,
    eventNumber As Integer
)

Parameters

  • publisherName
    Type: System.String

    The name of the publisher that will publish the event.

  • eventNumber
    Type: System.Int32

    The event number for the monitoring event.

See Also

CustomMonitoringEvent Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top