Creates a new instance of the exception XCommandLineException.

Namespace:  SGP.XUtility
Assembly:  SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718

Syntax

C#
public XCommandLineException(
	XCommandLineErrorCode code,
	string message
)

Parameters

code
Type: SGP.XUtility..::.XCommandLineErrorCode
The error code.
message
Type: System..::.String
The string identifies a reason why was an exception thrown.

Remarks

The content of message is supposed to be understandable for humans. The callee must ensure that the content will be localized for the current culture info.

See Also