[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Initializes a new DiscoveryDataInvalidMonitoringClassIdException object. Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.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
<ObsoleteAttribute("Use the constructor that takes baseManagedEntityId.")> _
Public Sub New ( _
		monitoringClassId As Guid, _
		ruleId As Guid, _
		instance As String _
)
C#
[ObsoleteAttribute("Use the constructor that takes baseManagedEntityId.")] 
public DiscoveryDataInvalidMonitoringClassIdException (
		Guid monitoringClassId,
		Guid ruleId,
		string instance
)
C++
[ObsoleteAttribute(L"Use the constructor that takes baseManagedEntityId.")] 
public:
DiscoveryDataInvalidMonitoringClassIdException (
		Guid monitoringClassId, 
		Guid ruleId, 
		String^ instance
)
J#
/** @attribute ObsoleteAttribute("Use the constructor that takes baseManagedEntityId.") */ 
public DiscoveryDataInvalidMonitoringClassIdException (
		Guid monitoringClassId, 
		Guid ruleId, 
		String instance
)
JScript
ObsoleteAttribute("Use the constructor that takes baseManagedEntityId.") 
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

See Also