Sets the error stream of the invoking CP object. After this call, all errors will be output via the new stream. Passing null as the new output stream will turn off all errors.

Namespace: ILOG.CP
Assembly: ILOG.CP (in ILOG.CP.dll)

Syntax

C#
public virtual void SetError(
	TextWriter s
)
Visual Basic
Public Overridable Sub SetError ( _
	s As TextWriter _
)

Parameters

s
Type: System.IO..::..TextWriter
The new errors output stream.

See Also