ErrorHandler.Succeeded(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks if a HRESULT is a success return code.
public:
static bool Succeeded(int hr);
public:
static bool Succeeded(int hr);
static bool Succeeded(int hr);
public static bool Succeeded (int hr);
static member Succeeded : int -> bool
Public Shared Function Succeeded (hr As Integer) As Boolean
Parameters
- hr
- Int32
The HRESULT to test.
Returns
true if hr represents a success, false otherwise.