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

Usage

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

Dim instance As New DiscoveryDataRelationshipNotAllowedException(monitoringRelationshipId, ruleId, instance)

Syntax

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

Parameters

monitoringRelationshipId

The relationship 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]