InvalidCastMessages
InvalidCastMessages.Instance (SystemMessages.InvalidCast) contains message descriptions scraped from mscorlib.dll for System.InvalidCastException.
Code | HResult | Field Name | Key | Text | Exception |
---|---|---|---|---|---|
0xA3450378 | 0x80004002 | CannotCastNullToValueType | mscorlib.InvalidCast_CannotCastNullToValueType | Null object cannot be converted to a value type. | System.InvalidCastException |
0xA3450379 | 0x80004002 | CannotCoerceByRefVariant | mscorlib.InvalidCast_CannotCoerceByRefVariant | Object cannot be coerced to the original type of the ByRef VARIANT it was obtained from. | System.InvalidCastException |
0xA345037A | 0x80004002 | DBNull | mscorlib.InvalidCast_DBNull | Object cannot be cast to DBNull. | System.InvalidCastException |
0xA345037B | 0x80004002 | Empty | mscorlib.InvalidCast_Empty | Object cannot be cast to Empty. | System.InvalidCastException |
0xA345037C | 0x80004002 | FromDBNull | mscorlib.InvalidCast_FromDBNull | Object cannot be cast from DBNull to other types. | System.InvalidCastException |
0xA345037D | 0x80004002 | FromTo | mscorlib.InvalidCast_FromTo | Invalid cast from '{0}' to '{1}'. | System.InvalidCastException |
0xA345037E | 0x80004002 | IConvertible | mscorlib.InvalidCast_IConvertible | Object must implement IConvertible. | System.InvalidCastException |
0xA345037F | 0x80004002 | WinRTIPropertyValueArrayCoersion | mscorlib.InvalidCast_WinRTIPropertyValueArrayCoersion | Object in an IPropertyValue is of type '{0}' which cannot be convereted to a '{1}' due to array element '{2}': {3}. | System.InvalidCastException |
0xA3450380 | 0x80004002 | WinRTIPropertyValueCoersion | mscorlib.InvalidCast_WinRTIPropertyValueCoersion | Object in an IPropertyValue is of type '{0}' with value '{1}', which cannot be converted to a '{2}'. | System.InvalidCastException |
0xA3450381 | 0x80004002 | WinRTIPropertyValueElement | mscorlib.InvalidCast_WinRTIPropertyValueElement | Object in an IPropertyValue is of type '{0}', which cannot be converted to a '{1}'. | System.InvalidCastException |
0xA345045D | 0x80131514 | MulticastCombine | mscorlib.Multicast_Combine | Delegates that are not of type MulticastDelegate may not be combined. | System.MulticastNotSupportedException |
0xA34506C7 | 0x80004002 | DownCastArrayElement | mscorlib.InvalidCast_DownCastArrayElement | At least one element in the source array could not be cast down to the destination array type. | System.InvalidCastException |
0xA34506C8 | 0x80004002 | OATypeMismatch | mscorlib.InvalidCast_OATypeMismatch | OleAut reported a type mismatch. | System.InvalidCastException |
0xA34506C9 | 0x80004002 | StoreArrayElement | mscorlib.InvalidCast_StoreArrayElement | Object cannot be stored in an array of this type. | System.InvalidCastException |
This document is partially derived from work with following license.
/*This file is a derivate of a source file that has following license (below). ======================================================================== The MIT License (MIT) Copyright (c) Microsoft Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ======================================================================*/