Export (0) Print
Expand All

Trace.TraceInformation Method (String, Object[])

Writes an informational message to the trace listeners in the Listeners collection using the specified array of objects and formatting information.

Namespace: System.Diagnostics
Assembly: System (in system.dll)

[ConditionalAttribute("TRACE")] 
public static void TraceInformation (
	string format,
	params Object[] args
)
/** @attribute ConditionalAttribute("TRACE") */ 
public static void TraceInformation (
	String format, 
	Object[] args
)
ConditionalAttribute("TRACE") 
public static function TraceInformation (
	format : String, 
	... args : Object[]
)
Not applicable.

Parameters

format

A format string that contains zero or more format items, which correspond to objects in the args array.

args

An object array containing zero or more objects to format.

TraceInformation calls the TraceEvent methods in the trace listeners with the trace event type Information, passing the message content as an object array with formatting information. See the Format method for more information about the format and args parameters.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft