Initializes a new DiscoveryDataInvalidMonitoringClassIdException object. Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager.Common (in microsoft.enterprisemanagement.operationsmanager.common.dll)

Usage

Visual Basic
Dim monitoringClassId As Guid
Dim ruleId As Guid
Dim instance As String

Dim instance As New DiscoveryDataInvalidMonitoringClassIdException(monitoringClassId, ruleId, instance)

Syntax

Visual Basic
Public Sub New ( _
		monitoringClassId As Guid, _
		ruleId As Guid, _
		instance As String _
)
C#
public DiscoveryDataInvalidMonitoringClassIdException (
		Guid monitoringClassId,
		Guid ruleId,
		string instance
)
C++
public:
DiscoveryDataInvalidMonitoringClassIdException (
		Guid monitoringClassId, 
		Guid ruleId, 
		String^ instance
)
J#
public DiscoveryDataInvalidMonitoringClassIdException (
		Guid monitoringClassId, 
		Guid ruleId, 
		String instance
)
JScript
public function DiscoveryDataInvalidMonitoringClassIdException (
		monitoringClassId : Guid, 
		ruleId : Guid, 
		instance : String
)

Parameters

monitoringClassId

The monitoring class identifier that caused the exception to be thrown.

ruleId

The GUID for the rule that caused the exception.

instance

The instance XML.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also

[an error occurred while processing this directive]