Freigeben über


CustomMonitoringObject Constructor (MonitoringClass, IList<Pair<MonitoringClassProperty, Object>>)

 

Applies To: Operations Manager for System Center 2012

Initializes a new CustomMonitoringObject object with a monitoring class and the key property value pairs for the monitoring object.

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

Syntax

public CustomMonitoringObject(
    MonitoringClass monitoringClass,
    IList<Pair<MonitoringClassProperty, object>> keyPropertyValuePairs
)
public:
CustomMonitoringObject(
    MonitoringClass^ monitoringClass,
    IList<Pair<MonitoringClassProperty^, Object^>^>^ keyPropertyValuePairs
)
new : 
        monitoringClass:MonitoringClass *
        keyPropertyValuePairs:IList<Pair<MonitoringClassProperty, Object>> -> CustomMonitoringObject
Public Sub New (
    monitoringClass As MonitoringClass,
    keyPropertyValuePairs As IList(Of Pair(Of MonitoringClassProperty, Object))
)

Parameters

See Also

CustomMonitoringObject Overload
CustomMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top