ThrowHelper Class Methods
- Last UpdatedAug 21, 2026
- 3 minute read
For a list of all members of this type, see ThrowHelper members.
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from object) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from object) |
![]() | GetType | Gets the System.Type of the current instance. (Inherited from object) |
![]() ![]() | ThrowArgumentException | Throws the argument exception. |
![]() ![]() | ThrowIfArgumentNull<T> | Throws if argument is null. |
![]() ![]() | ThrowIfArgumentNullOrEmpty<T> | Throws if argument is null or empty. |
![]() ![]() | ThrowIfArgumentNullOrWhiteSpace | Throws if argument is null or white space. |
![]() ![]() | ThrowIfArgumentOutOfRange | Throws if argument out of range. |
![]() ![]() | ThrowIfHResultError | Throws exception when HResult is not S_OK. |
![]() ![]() | ThrowIfServiceIsNull<T> | Throws if service is null. |
![]() ![]() | ThrowInvalidOperation | Throws the invalid operation. |
![]() | ToString | Returns a string that represents the current object. (Inherited from object) |
| Name | Description | |
|---|---|---|
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from object) |
![]() | MemberwiseClone | Creates a shallow copy of the current System.Object. (Inherited from object) |


