Constructors: NewIOException

NewIOException

Creates a new IOException object with the specified Message, HResult, and InnerException.



 Public Function NewIOException(
	  ByVal Message As String,
	  Optional ByVal HResult As Long = COR_E_IO,
	  Optional ByVal InnerException As Exception ) As IOException

Parameters

Message
[ByVal] String. A human-readable error message.
HResult
[ByVal] Optional. Long. The underlying error code.  

Default: COR_E_IO

InnerException
[ByVal] Optional. Exception. The exception that caused this exception.

Return Values

IOException -  A new IOException object.

Remarks

See Also

Project VBCorLib Overview Class Constructors Overview Constructors Properties Constructors Methods NewInvalidOperationException NewKeySizes