HResult Property
Returns an HRESULT value that identifies the type of error.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
Syntax
'Declaration
Public ReadOnly Property HResult As Integer
Get
'Usage
Dim instance As SqlCeError
Dim value As Integer
value = instance.HResult
public int HResult { get; }
public:
property int HResult {
int get ();
}
member HResult : int
function get HResult () : int
Property Value
Type: System. . :: . .Int32
The HR number that identifies the type of error.
Remarks
Books Online does not document specific HRESULTs returned by the HResult property because these errors are not native to . If you are looking for information about specific HRESULT values, see Winerror.h and Wininet.h, which are included with Microsoft Visual Studio .NET. For more information about HRESULT values, search the MSDNĀ® Library or the Microsoft Knowledge Base.