Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TraceInformation Method (String, Object[])
Collapse the table of content
Expand the table of content

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 Shared Sub TraceInformation ( _
	format As String, _
	ParamArray args As Object() _
Dim format As String
Dim args As Object()

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



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


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

© 2015 Microsoft