Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Trace.TraceInformation Method (String, Object[])

Note: This method is new in the .NET Framework version 2.0.

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(L"TRACE")] 
public:
static void TraceInformation (
	String^ format, 
	... array<Object^>^ args
)
/** @attribute ConditionalAttribute("TRACE") */ 
public static void TraceInformation (
	String format, 
	Object[] args
)
ConditionalAttribute("TRACE") 
public static function TraceInformation (
	format : String, 
	... args : Object[]
)

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 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.