Writes an informational message to the trace listeners in the Listeners collection.
Overloads TraceInformation(String, Object[])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
A composite format string that contains text intermixed with zero or more format items, which correspond to objects in the args
array.
An array containing zero or more objects to format.
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.
RemarksFor 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.
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 articleWas 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