Trace::TraceInformation Method (String^, array<Object^>^)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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)

static void TraceInformation(
	String^ format,
	... array<Object^>^ args


Type: System::String^

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

Type: array<System::Object^>^

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.

.NET Framework
Available since 2.0
Return to top