MessagingTrace.TraceException Method (String, Exception, Object[])
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
public static void TraceException(
string format,
Exception exception,
params object[] args
)
public:
static void TraceException(
String^ format,
Exception^ exception,
... array<Object^>^ args
)
Public Shared Sub TraceException (
format As String,
exception As Exception,
ParamArray args As Object()
)
Parameters
format
Type: System.StringThe format.
exception
Type: System.ExceptionThe exception.
args
Type: System.Object[]The array of objects to format.
See Also
MessagingTrace Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top