[]
        
(Showing Draft Content)

C1.Util.DX.HResultDescriptor

HResultDescriptor Class

Descriptor used to provide detailed message for a particular Result.

Inheritance
HResultDescriptor
Namespace: C1.Util.DX
Assembly: C1.Win.C1DX.4.8.dll
Syntax
public sealed class HResultDescriptor

Constructors

Name Description
HResultDescriptor(HResult, string, string, string, string)

Initializes a new instance of the HResultDescriptor class.

Properties

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.

Methods

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()

Operators

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 !=.