<PackageReference Include="Relativity.Shared.SDK" Version="1.7.0" />

InvalidObjectTypeException

Represents exceptions that occur when specifying an unexpected object type.

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.