Table of Contents

Constructor TruncationException

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

TruncationException()

Initializes a new instance of the TruncationException class.

public TruncationException()

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.

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.