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
monitoringClass
Type: Microsoft.EnterpriseManagement.Configuration.MonitoringClassThe monitoring class of this monitoring object.
keyPropertyValuePairs
Type: System.Collections.Generic.IList<Pair<MonitoringClassProperty, Object>>The key property value pairs for the monitoring object.
See Also
CustomMonitoringObject Overload
CustomMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace
Return to top