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

See Also

MessagingTrace Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top