<PackageReference Include="Relativity.Server.Services.Interfaces.SDK" Version="5001.1.0" />

Relativity.Services.Objects.Exceptions.InvalidObjectTypeException

public class InvalidObjectTypeException : ValidationException
Represents exceptions that occur when specifying an object of a different object type than Object Manager expects.

Initializes a new instance of the InvalidObjectTypeException class.

public InvalidObjectTypeException(string message)

Initializes a new instance of the InvalidObjectTypeException class with an error message that describes the exception.

public InvalidObjectTypeException(string message, Exception innerException)

Initializes a new instance of the InvalidObjectTypeException class with a message that describes the exception and a reference to the inner exception that caused the exception.

Initializes a new instance of the InvalidObjectTypeException class with serialized data.