![]() Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. Gets or sets a link to the help file associated with this exception. Gets a collection of key/value pairs that provide additional user-defined information about the exception. Initializes a new instance of the OverflowException class with a specified error message and a reference to the inner exception that is the cause of this exception. Initializes a new instance of the OverflowException class with a specified error message. Initializes a new instance of the OverflowException class with serialized data. OverflowException(SerializationInfo, StreamingContext) Initializes a new instance of the OverflowException class. OverflowException uses the HRESULT COR_E_OVERFLOW, which has the value 0x80131516.įor a list of initial property values for an instance of OverflowException, see the OverflowException constructors. The following Microsoft intermediate language (MSIL) instructions throw an OverflowException: ![]() Converted the Byte value 241 to the SByte value -15. The example displays the following output: The following example illustrates the OverflowException that is thrown by a multiplication operation that overflows the bounds of the Int32 type. SerializableAttribute ComVisibleAttribute RemarksĪn OverflowException is thrown at run time under the following conditions:Īn arithmetic operation produces a result that is outside the range of the data type returned by the operation. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |