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

Writes the exception as an error to the trace log

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

Syntax

                 
  C#     Visual Basic     Visual C++  
public 
static 
void 
TraceException(
	
string 
format,
	
Exception 
exception,
	
params 
Object[] 
args
)
Public 
Shared 
Sub 
TraceException ( _
	
format 
As 
String, _
	
exception 
As 
Exception, _
	
ParamArray 
args 
As 
Object() _
)
public:
static 
void 
TraceException(
	
String^ 
format, 
	
Exception^ 
exception, 
		... 
array<
Object^>^ 
args
)

Parameters

format
String
exception
Exception
args
array< Object > [] () [] []

See Also