다음을 통해 공유


ErrorHandler.Failed Method

Determines whether an HRESULT is an error return code.

Namespace:  Microsoft.VisualStudio
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

‘선언
Public Shared Function Failed ( _
    hr As Integer _
) As Boolean
public static bool Failed(
    int hr
)

Parameters

Return Value

Type: System.Boolean
true if hr represents an error, otherwise false.

.NET Framework Security

See Also

Reference

ErrorHandler Class

Microsoft.VisualStudio Namespace

Other Resources

HRESULT Information in Managed Code