[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Special wrapper for System.Diagnostics.Trace. Should use this instead of System.Diagnostics.Trace. This can be overridden with a app.config to control the trace level.

Namespace:  Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

                 
  C#     Visual Basic     Visual C++  
[
SerializableAttribute]
public 
static 
class 
MessagingTrace
<
SerializableAttribute> _
Public 
NotInheritable 
Class 
MessagingTrace
[
SerializableAttribute]
public 
ref class 
MessagingTrace 
abstract 
sealed

Members

                       
  All Members     Fields      Properties      Methods   
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

  Member Description
Indent () () () ()
Indents the trace
Timestamp
Gets/sets if the timestamp should be printed when logging. Defaults to true.
TraceDebug(String, array< Object > [] () [] [] )
Performs debug tracing
TraceDebugException(String, Exception, array< Object > [] () [] [] )
Traces exception information with debug level, used for troubleshooting
TraceError(String, array< Object > [] () [] [] )
Writes an error message to the trace log with parameters
TraceException(String, Exception, array< Object > [] () [] [] )
Writes the exception as an error to the trace log
TraceInformation(String, array< Object > [] () [] [] )
Writes an information message to the trace log with parameters
TraceSwitch
Gets/sets the trace switch. The default name for the trace switch is "Messaging Logging"
TraceWarning(String, array< Object > [] () [] [] )
Writes an warning message to the trace log with parameters
Unindent () () () ()
Unindents the trace

Inheritance Hierarchy

System . . :: . . Object
   Microsoft.ConfigurationManagement.Messaging.Framework . . :: . . MessagingTrace

See Also