IMSL C# Numerical Library

WarningObject.Print Method 

Issue a warning message.

public virtual void Print(
   object source,
   string baseName,
   string key,
   object[] arg
);

Parameters

source
The Object that is the source of the warning.
baseName
A String which specifies the base name of the resource. The actual name is formed by appending ".ErrorMessages".
key
A String which specifies the warning message in the resource.
arg
A Object which specifies arguments used to format the message.

Remarks

Warning messages are stored as string format items in a resource. This method retrieves the format from the resource, formats the message with the supplied arguments, and prints the message to the warning stream.

See Also

WarningObject Class | Imsl Namespace