ExceptionBase: HResult (let)

HResult

Sets the HResult the current exception represents.



 Public Property Let HResult(
	  ByVal Value As Long )

Parameters

Value
[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 CorLib Overview

Class ExceptionBase Overview