Class TruncationException
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
SerializationInfoThe SerializationInfo.
context
StreamingContextThe StreamingContext.
TruncationException(string)
Initializes a new instance of the TruncationException class.
public TruncationException(string message)
Parameters
message
stringThe error message.
TruncationException(string, Exception)
Initializes a new instance of the TruncationException class.
public TruncationException(string message, Exception innerException)