Table of Contents

Class MetadataException

Namespace
LinqToDB.Metadata
Assembly
linq2db.dll

Defines the base class for the namespace exceptions.

[Serializable]
public class MetadataException : Exception, ISerializable, _Exception
Inheritance
MetadataException
Implements
Inherited Members
Extension Methods

Remarks

This class is the base class for exceptions that may occur during execution of the namespace members.

Constructors

MetadataException()

Initializes a new instance of the MetadataException class.

public MetadataException()

Remarks

This constructor initializes the Message property of the new instance such as "A Build Type exception has occurred."

MetadataException(Exception)

Initializes a new instance of the MetadataException class with the specified InnerException property.

public MetadataException(Exception innerException)

Parameters

innerException Exception

The InnerException, if any, that threw the current exception.

See Also

MetadataException(SerializationInfo, StreamingContext)

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

protected MetadataException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The object that holds the serialized object data.

context StreamingContext

The contextual information about the source or destination.

Remarks

This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.

MetadataException(string)

Initializes a new instance of the MetadataException class with the specified error message.

public MetadataException(string message)

Parameters

message string

The message to display to the client when the exception is thrown.

See Also

MetadataException(string, Exception)

Initializes a new instance of the MetadataException class with the specified error message and InnerException property.

public MetadataException(string message, Exception innerException)

Parameters

message string

The message to display to the client when the exception is thrown.

innerException Exception

The InnerException, if any, that threw the current exception.

See Also