Skip to content

M_CommandLine_Text_HeadingInfo_WriteError

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

HeadingInfo.WriteError Method

Writes out a string and a new line using the program name specified in the constructor and message parameter to standard error stream.

Namespace: CommandLine.Text
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public void WriteError(
	string message
)

VB

Public Sub WriteError ( 
	message As String
)

C++

public:
void WriteError(
	String^ message
)

F#

member WriteError : 
        message : string -> unit 

Parameters

 

message
Type: System.String
The String message to write.

Exceptions

 

Exception Condition
ArgumentException Thrown when parameter message is null or empty string.

See Also

Reference

HeadingInfo Class
CommandLine.Text Namespace

Clone this wiki locally