C# Class SevenSoftware.Windows.Internal.ErrorHelper

Provide Error Message Helper Methods.This is intended for Library Internal use only.
Show file Open project: robertbaker/SevenUpdate

Public Methods

Method Description
Failed ( Result result ) : bool

This is intended for Library Internal use only.

Failed ( int result ) : bool

This is intended for Library Internal use only.

HResultFromWin32 ( int win32ErrorCode ) : int

This is intended for Library Internal use only.

Matches ( int result, int win32ErrorCode ) : bool

This is intended for Library Internal use only.

Succeeded ( Result result ) : bool

This is intended for Library Internal use only.

Succeeded ( int result ) : bool

This is intended for Library Internal use only.

Method Details

Failed() public static method

This is intended for Library Internal use only.
public static Failed ( Result result ) : bool
result Result The error code.
return bool

Failed() public static method

This is intended for Library Internal use only.
public static Failed ( int result ) : bool
result int The error code.
return bool

HResultFromWin32() public static method

This is intended for Library Internal use only.
public static HResultFromWin32 ( int win32ErrorCode ) : int
win32ErrorCode int The Windows API error code.
return int

Matches() public static method

This is intended for Library Internal use only.
public static Matches ( int result, int win32ErrorCode ) : bool
result int The COM error code.
win32ErrorCode int The Win32 error code.
return bool

Succeeded() public static method

This is intended for Library Internal use only.
public static Succeeded ( Result result ) : bool
result Result The error code.
return bool

Succeeded() public static method

This is intended for Library Internal use only.
public static Succeeded ( int result ) : bool
result int The error code.
return bool