Partager via


XmlUtil.LogWriteException Method

Definition

Overloads

LogWriteException(String, Object[])

Sends formatted XmlWriteException to the Logger.

LogWriteException(String, Exception, Object[])

Sends formatted XmlWriteException to the Logger.

LogWriteException(String, Object[])

Sends formatted XmlWriteException to the Logger.

public static Exception LogWriteException (string format, params object[] args);
static member LogWriteException : string * obj[] -> Exception
Public Shared Function LogWriteException (format As String, ParamArray args As Object()) As Exception

Parameters

format
String

the format string.

args
Object[]

the arguments to use for formating.

Returns

a XmlWriteException.

Applies to

LogWriteException(String, Exception, Object[])

Sends formatted XmlWriteException to the Logger.

public static Exception LogWriteException (string format, Exception inner, params object[] args);
static member LogWriteException : string * Exception * obj[] -> Exception
Public Shared Function LogWriteException (format As String, inner As Exception, ParamArray args As Object()) As Exception

Parameters

format
String

the format string.

inner
Exception

the inner exception.

args
Object[]

the arguments to use for formating.

Returns

a XmlWriteException.

Applies to