Share via


InvalidRelationshipObjectException Class

Definition

Represents the exception that is thrown when the specified relationship object is not valid.

public ref class InvalidRelationshipObjectException : Microsoft::EnterpriseManagement::Common::EnterpriseManagementException
[System.Serializable]
public class InvalidRelationshipObjectException : Microsoft.EnterpriseManagement.Common.EnterpriseManagementException
type InvalidRelationshipObjectException = class
    inherit EnterpriseManagementException
Public Class InvalidRelationshipObjectException
Inherits EnterpriseManagementException
Inheritance
InvalidRelationshipObjectException
Attributes

Constructors

InvalidRelationshipObjectException()

Initializes a new instance of the InvalidRelationshipObjectException class.

InvalidRelationshipObjectException(EntityObjectValidationErrorType, Guid)

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

InvalidRelationshipObjectException(Exception)

Initializes a new instance of the InvalidRelationshipObjectException class using a reference to the inner exception that is the cause of this exception.

InvalidRelationshipObjectException(Exception, EntityObjectValidationErrorType, Guid)

Initializes a new instance of the InvalidRelationshipObjectException class using the specified exception type, relationship type identifier, and a reference to the inner exception that is the cause of this exception.

InvalidRelationshipObjectException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidRelationshipObjectException class using the serialized data.

InvalidRelationshipObjectException(String)

Initializes a new instance of the InvalidRelationshipObjectException class using the specified error message.

InvalidRelationshipObjectException(String, EntityObjectValidationErrorType, Guid)

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

InvalidRelationshipObjectException(String, Exception)

Initializes a new instance of the InvalidRelationshipObjectException class using the specified message and a reference to the inner exception that is the cause of this exception.

InvalidRelationshipObjectException(String, Exception, EntityObjectValidationErrorType, Guid)

Initializes a new instance of the InvalidRelationshipObjectException class using the specified error message, exception type, relationship type identifier, and a reference to the inner exception that is the cause of this exception.

Properties

ErrorType

Gets the type of the entity object validation error.

RelationshipTypeId

Gets the ID of the relationship type.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo object with information about the exception, when the method is overridden in a derived class.

Applies to