Table of Contents

Class TruncationException

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Represents a truncation exception.

[Serializable]
public class TruncationException : BsonException, ISerializable
Inheritance
TruncationException
Implements
Inherited Members
Extension Methods

Constructors

TruncationException()

Initializes a new instance of the TruncationException class.

public TruncationException()

TruncationException(SerializationInfo, StreamingContext)

Initializes a new instance of the TruncationException class (this overload used by deserialization).

public TruncationException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo.

context StreamingContext

The StreamingContext.

TruncationException(string)

Initializes a new instance of the TruncationException class.

public TruncationException(string message)

Parameters

message string

The error message.

TruncationException(string, Exception)

Initializes a new instance of the TruncationException class.

public TruncationException(string message, Exception innerException)

Parameters

message string

The error message.

innerException Exception

The inner exception.