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
infoSerializationInfoThe SerializationInfo.
contextStreamingContextThe StreamingContext.
TruncationException(string)
Initializes a new instance of the TruncationException class.
public TruncationException(string message)
Parameters
messagestringThe error message.
TruncationException(string, Exception)
Initializes a new instance of the TruncationException class.
public TruncationException(string message, Exception innerException)