ExceptionBase: HResult (let)

HResult

Sets the HResult the current exception represents.

 Public Property Let HResult(
	  ByVal RHS As Long )

Parameters

RHS
[ByVal] Long. The new HResult value.

Remarks

This is the same as Err.Number in most cases. Since this is a helper base class, it can hold any custom value needed for use by the Subclass.

This property can be set in the constructor NewExceptionBase.

Read/Write.

See Also

Project VBCorLib Overview | Class ExceptionBase Overview