[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Initializes a new DiscoveryDataRelationshipNotAllowedException object. Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

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

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

Syntax

Visual Basic
<ObsoleteAttribute("Use constructor that takes relationshipObjectId.")> _
Public Sub New ( _
		relationshipClassId As Guid, _
		ruleId As Guid, _
		instance As String _
)
C#
[ObsoleteAttribute("Use constructor that takes relationshipObjectId.")] 
public DiscoveryDataRelationshipNotAllowedException (
		Guid relationshipClassId,
		Guid ruleId,
		string instance
)
C++
[ObsoleteAttribute(L"Use constructor that takes relationshipObjectId.")] 
public:
DiscoveryDataRelationshipNotAllowedException (
		Guid relationshipClassId, 
		Guid ruleId, 
		String^ instance
)
J#
/** @attribute ObsoleteAttribute("Use constructor that takes relationshipObjectId.") */ 
public DiscoveryDataRelationshipNotAllowedException (
		Guid relationshipClassId, 
		Guid ruleId, 
		String instance
)
JScript
ObsoleteAttribute("Use constructor that takes relationshipObjectId.") 
public function DiscoveryDataRelationshipNotAllowedException (
		relationshipClassId : Guid, 
		ruleId : Guid, 
		instance : String
)

Parameters

relationshipClassId
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