DiscoveryDataRelationshipNotAllowedException Constructor (Guid, Guid, String)
Initializes a new DiscoveryDataRelationshipNotAllowedException object.
Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
'Usage
Dim relationshipClassId As Guid
Dim ruleId As Guid
Dim instance As String
Dim instance As New DiscoveryDataRelationshipNotAllowedException(relationshipClassId, ruleId, instance)
Syntax
'Declaration
<ObsoleteAttribute("Use constructor that takes relationshipObjectId.")> _
Public Sub New ( _
relationshipClassId As Guid, _
ruleId As Guid, _
instance As String _
)
[ObsoleteAttribute("Use constructor that takes relationshipObjectId.")]
public DiscoveryDataRelationshipNotAllowedException (
Guid relationshipClassId,
Guid ruleId,
string instance
)
[ObsoleteAttribute(L"Use constructor that takes relationshipObjectId.")]
public:
DiscoveryDataRelationshipNotAllowedException (
Guid relationshipClassId,
Guid ruleId,
String^ instance
)
/** @attribute ObsoleteAttribute("Use constructor that takes relationshipObjectId.") */
public DiscoveryDataRelationshipNotAllowedException (
Guid relationshipClassId,
Guid ruleId,
String instance
)
ObsoleteAttribute("Use constructor that takes relationshipObjectId.")
public function DiscoveryDataRelationshipNotAllowedException (
relationshipClassId : Guid,
ruleId : Guid,
instance : String
)
Parameters
- relationshipClassId
The Relationship Class identifier.
- ruleId
The GUID for the rule that caused the exception.
- instance
The instance XML.
Remarks
This constructor is obsolete. Use the DiscoveryDataRelationshipNotAllowedException(Guid,Guid,Guid,String) constructor instead.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
DiscoveryDataRelationshipNotAllowedException Class
DiscoveryDataRelationshipNotAllowedException Members
Microsoft.EnterpriseManagement.Common Namespace