[]
Descriptor used to provide detailed message for a particular Result.
public sealed class HResultDescriptor
Name | Description |
---|---|
HResultDescriptor(HResult, string, string, string, string) | Initializes a new instance of the HResultDescriptor class. |
Name | Description |
---|---|
ApiCode | Gets the API code (ex: DemiceRemoved ...) |
Description | Gets the description of the result code if any. |
Module | Gets the module (ex: C1.Win.DX.Direct2D) |
NativeApiCode | Gets the native API code (ex: D2D1_ERR_ ...) |
Result | Gets the result. |
Name | Description |
---|---|
Equals(HResultDescriptor) | Determines whether the specified HResultDescriptor is equal to this instance. |
Equals(object) | Determines whether the specified object is equal to this instance. |
Find(HResult) | Finds the specified result descriptor. |
GetHashCode() | |
RegisterProvider(Type) | Registers a HResultDescriptor provider. |
ToString() |
Name | Description |
---|---|
operator ==(HResultDescriptor, HResult) | Implements the operator ==. |
implicit operator HResult(HResultDescriptor) | Performs an implicit conversion from HResultDescriptor to HResult. |
operator !=(HResultDescriptor, HResult) | Implements the operator !=. |