MessageWriter.WriteMessageLine Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WriteMessageLine(String, Object[]) |
Method to write single line message with optional args, usually written to precede the general failure message. |
WriteMessageLine(Int32, String, Object[]) |
Method to write single line message with optional args, usually written to precede the general failure message, at a givel indentation level. |
WriteMessageLine(String, Object[])
Method to write single line message with optional args, usually written to precede the general failure message.
public void WriteMessageLine (string message, params object[] args);
member this.WriteMessageLine : string * obj[] -> unit
Parameters
- message
- String
The message to be written
- args
- Object[]
Any arguments used in formatting the message
Applies to
WriteMessageLine(Int32, String, Object[])
Method to write single line message with optional args, usually written to precede the general failure message, at a givel indentation level.
public abstract void WriteMessageLine (int level, string message, params object[] args);
abstract member WriteMessageLine : int * string * obj[] -> unit
Parameters
- level
- Int32
The indentation level of the message
- message
- String
The message to be written
- args
- Object[]
Any arguments used in formatting the message