A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.tracesource.traceinformation below:

TraceSource.TraceInformation Method (System.Diagnostics) | Microsoft Learn

TraceSource.TraceInformation Method Definition

Writes an informational message to the trace listeners in the Listeners collection.

Overloads TraceInformation(String, Object[])
Source:
TraceSource.cs
Source:
TraceSource.cs
Source:
TraceSource.cs
Source:
TraceSource.cs

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

public:
 void TraceInformation(System::String ^ format, ... cli::array <System::Object ^> ^ args);
[System.Diagnostics.Conditional("TRACE")]
public void TraceInformation(string? format, params object?[]? args);
[System.Diagnostics.Conditional("TRACE")]
public void TraceInformation(string format, params object?[]? args);
[System.Diagnostics.Conditional("TRACE")]
public void TraceInformation(string format, params object[] args);
[<System.Diagnostics.Conditional("TRACE")>]
member this.TraceInformation : string * obj[] -> unit
Public Sub TraceInformation (format As String, ParamArray args As Object())
Parameters
format
String

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

args
Object[]

An array containing zero or more objects to format.

Attributes
Exceptions

format is invalid.

-or-

The number that indicates an argument to format is less than zero, or greater than or equal to the number of specified objects to format.

An attempt was made to trace an event during finalization.

Remarks

For more information about the format parameter, see Composite Formatting.

The TraceInformation method provides an informational message intended to be read by users and not by tools.

TraceInformation(String, Object[]) calls the TraceEvent(TraceEventType, Int32, String, Object[]) method, setting eventType to TraceEventType.Information and passing the message content as an object array with formatting information. The TraceEvent(TraceEventType, Int32, String, Object[]) method in turn calls the TraceEvent(TraceEventCache, String, TraceEventType, Int32, String, Object[]) method of each trace listener.

See also

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4