The members of System.Diagnostics.Trace are listed below.
See Also: Inherited members from System.Object
staticAutoFlush bool. Should TraceListener.Flush be called on the Trace.Listeners after writing each message? [read-only] staticCorrelationManager CorrelationManager. Documentation for this section has not yet been entered. staticIndentLevel int. The message indent level. staticIndentSize int. The message indent size. [read-only] staticListeners TraceListenerCollection. Gets the list of System.Diagnostics.TraceListener objects that messages are forwarded to. staticUseGlobalLock bool. Documentation for this section has not yet been entered.
staticAssert(bool) Displays a message if condition is false. staticAssert(bool, string) Displays message if condition is false. staticAssert(bool, string, string) Displays message and detailMessage if condition is false. staticClose() Closes all System.Diagnostics.TraceListener objects in the Trace.Listeners collection. staticFail(string) Send a failure message to all System.Diagnostics.TraceListener objects in the Trace.Listeners collection. staticFail(string, string) Send a failure message to all System.Diagnostics.TraceListener objects in the Trace.Listeners collection. staticFlush() Flushes the contents of all System.Diagnostics.TraceListener objects in the Trace.Listeners collection. staticIndent() Indents subsequent messages until the next Trace.Unindent call. staticRefresh() Documentation for this section has not yet been entered. staticTraceError(string) Documentation for this section has not yet been entered. staticTraceError(string, params object[]) Documentation for this section has not yet been entered. staticTraceInformation(string) Documentation for this section has not yet been entered. staticTraceInformation(string, params object[]) Documentation for this section has not yet been entered. staticTraceWarning(string) Documentation for this section has not yet been entered. staticTraceWarning(string, params object[]) Documentation for this section has not yet been entered. staticUnindent() Unindents subsequent messages. staticWrite(object) Send value to all System.Diagnostics.TraceListener objects in the Trace.Listeners collection. staticWrite(string) Send message to all System.Diagnostics.TraceListener objects in the Trace.Listeners collection. staticWrite(object, string) Send value and its category category to all System.Diagnostics.TraceListener objects in the Trace.Listeners collection. staticWrite(string, string) Send message and its category message to all System.Diagnostics.TraceListener objects in the Trace.Listeners collection. staticWriteIf(bool, object) If condition is true, send a value to all System.Diagnostics.TraceListener objects in the Trace.Listeners collection. staticWriteIf(bool, string) If condition is true, send message to all System.Diagnostics.TraceListener objects in the Trace.Listeners collection. staticWriteIf(bool, object, string) If condition is true, send message and its category category to all System.Diagnostics.TraceListener objects in the Trace.Listeners collection. staticWriteIf(bool, string, string) If condition is true, send message and its category category to all System.Diagnostics.TraceListener objects in the Trace.Listeners collection. staticWriteLine(object) Send value to all System.Diagnostics.TraceListener objects in the Trace.Listeners collection. staticWriteLine(string) Send message to all System.Diagnostics.TraceListener objects in the Trace.Listeners collection. staticWriteLine(object, string) Send value and its category category to all System.Diagnostics.TraceListener objects in the Trace.Listeners collection. staticWriteLine(string, string) Send message and its category message to all System.Diagnostics.TraceListener objects in the Trace.Listeners collection. staticWriteLineIf(bool, object) If condition is true, send a value to all System.Diagnostics.TraceListener objects in the Trace.Listeners collection. staticWriteLineIf(bool, string) If condition is true, send message to all System.Diagnostics.TraceListener objects in the Trace.Listeners collection. staticWriteLineIf(bool, object, string) If condition is true, send message and its category category to all System.Diagnostics.TraceListener objects in the Trace.Listeners collection. staticWriteLineIf(bool, string, string) If condition is true, send message and its category category to all System.Diagnostics.TraceListener objects in the Trace.Listeners collection.