WCF-Xtensions Class Reference for Mono
Trace Method (MemoryTraceWriter)






The System.Diagnostics.TraceLevel at which to write this trace.
The trace message.
The trace exception. This parameter is optional.
Writes the specified trace level, message and optional exception.
Syntax
'Declaration
 
Public Sub Trace( _
   ByVal level As System.Diagnostics.TraceLevel, _
   ByVal message As System.String, _
   ByVal ex As System.Exception _
) 
'Usage
 
Dim instance As MemoryTraceWriter
Dim level As System.Diagnostics.TraceLevel
Dim message As System.String
Dim ex As System.Exception
 
instance.Trace(level, message, ex)
public void Trace( 
   System.Diagnostics.TraceLevel level,
   System.string message,
   System.Exception ex
)
public procedure Trace( 
    level: System.Diagnostics.TraceLevel;
    message: System.String;
    ex: System.Exception
); 
public function Trace( 
   level : System.Diagnostics.TraceLevel,
   message : System.String,
   ex : System.Exception
);
public: void Trace( 
   System.Diagnostics.TraceLevel level,
   System.string* message,
   System.Exception* ex
) 
public:
void Trace( 
   System.Diagnostics.TraceLevel level,
   System.String^ message,
   System.Exception^ ex
) 

Parameters

level
The System.Diagnostics.TraceLevel at which to write this trace.
message
The trace message.
ex
The trace exception. This parameter is optional.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MemoryTraceWriter Class
MemoryTraceWriter Members

Send Feedback