Initializes a new instance of the StreamException class.

Namespace:  Quanser.Communications
Assembly:  Quanser.Communications (in Quanser.Communications.dll)

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	cause As ErrorCode _
)
C#
public StreamException(
	ErrorCode cause
)
Visual C++
public:
StreamException(
	ErrorCode cause
)
JavaScript
Quanser.Communications.StreamException = function(cause);

Parameters

cause
Type: Quanser.Common..::.ErrorCode
The Quanser error code indicating the cause of the stream exception

Remarks

This constructor is called to initialize a stream exception. The Quanser error code for the exception must be passed as an argument.

See Also