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

Usage

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

Dim instance As New DiscoveryDataPropertyNotAllowedException(monitoringClassPropertyId, ruleId, instance)

Syntax

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

Parameters

monitoringClassPropertyId

The property identifier that caused the exception for the discovery data.

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]