Partager via


InvalidRelationshipObjectException Constructor (String, EntityObjectValidationErrorType, Guid)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes a new instance of the InvalidRelationshipObjectException class using the specified error message, exception type, and relationship type identifier parameters.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim message As String
Dim exceptionType As EntityObjectValidationErrorType
Dim relationshipTypeId As Guid

Dim instance As New InvalidRelationshipObjectException(message, exceptionType, relationshipTypeId)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    exceptionType As EntityObjectValidationErrorType, _
    relationshipTypeId As Guid _
)
public InvalidRelationshipObjectException (
    string message,
    EntityObjectValidationErrorType exceptionType,
    Guid relationshipTypeId
)
public:
InvalidRelationshipObjectException (
    String^ message, 
    EntityObjectValidationErrorType exceptionType, 
    Guid relationshipTypeId
)
public InvalidRelationshipObjectException (
    String message, 
    EntityObjectValidationErrorType exceptionType, 
    Guid relationshipTypeId
)
public function InvalidRelationshipObjectException (
    message : String, 
    exceptionType : EntityObjectValidationErrorType, 
    relationshipTypeId : Guid
)

Parameters

  • message
    The error message that states the current exception.
  • exceptionType
    The type of the exception.
  • relationshipTypeId
    The relationship type identifier.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

InvalidRelationshipObjectException Class
InvalidRelationshipObjectException Members
Microsoft.EnterpriseManagement.Common Namespace