Compartir a través de


ErrorHandler.ThrowOnFailure Method

Include Protected Members
Include Inherited Members

Checks if the parameter is a success or failure HRESULT and throws an exception in case of failure.

Overload List

  Name Description
Public methodStatic member ThrowOnFailure(Int32) Checks if the parameter is a success or failure HRESULT and throws an exception in case of failure.
Public methodStatic member ThrowOnFailure(Int32, array<Int32[]) Checks if the parameter is a success or failure HRESULT and throws an exception if it is a failure that is not included in the array of well-known failures.

Top

See Also

Reference

ErrorHandler Class

ErrorHandler Members

Microsoft.VisualStudio Namespace