SqlCeException.HResult Property
Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.
Gets the HRESULT value of the exception. This value is the same as the value of HResult for the first instance of SqlCeError in the SqlCeErrorCollection for the exception.
[Visual Basic] Public Shadows ReadOnly Property HResult As Integer [C#] public new int HResult {get;} [C++] public: __property int get_HResult(); [JScript] public hide function get HResult() : int;
Property Value
The HRESULT value.
Remarks
SQL Server CE Books Online does not document specific HRESULTS returned by the HResult property because these errors are not native to SQL Server CE. If you are looking for information about specific HRESULT values, see Winerror.h and Wininet.h that are included with Microsoft Visual Studio .NET. For more information about HRESULT values, search the MSDN Library or the Microsoft Knowledge Base.
Requirements
Platforms: .NET Compact Framework
.NET Framework Security:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
SqlCeException Class | SqlCeException Members | System.Data.SqlServerCe Namespace
Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.