SqlCeError.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)

public int HResult { get; }

Property Value

Type: System.Int32
The HR number that identifies the type of error.

SQL Server Compact Books Online does not document specific HRESULTs returned by the HResult property because these errors are not native to SQL Server Compact. 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.

Show: