ErrorHandler Members
Include Protected Members
Include Inherited Members
Provides methods for dealing with common COM error codes.
The ErrorHandler type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() |
CallWithCOMConvention(Action) | |
![]() ![]() |
CallWithCOMConvention(Func<TResult>) | |
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() ![]() |
Failed | Checks if an HRESULT is an error return code. |
![]() |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() |
IsCriticalException | |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() |
Succeeded | Checks if an HRESULT is a success return code. |
![]() ![]() |
ThrowOnFailure(Int32) | Checks if the parameter is a success or failure HRESULT and throws an exception in case of failure. |
![]() ![]() |
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. |
![]() |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Top