XmlUtil.LogValidationException Method

Definition

Overloads

LogValidationException(String, Object[])

Sends formatted XmlValidationException to the Logger.

LogValidationException(String, Exception, Object[])

Sends formatted XmlValidationException to the Logger.

LogValidationException(String, Object[])

Sends formatted XmlValidationException to the Logger.

public static Exception LogValidationException (string format, params object[] args);
static member LogValidationException : string * obj[] -> Exception
Public Shared Function LogValidationException (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 XmlValidationException.

Applies to

LogValidationException(String, Exception, Object[])

Sends formatted XmlValidationException to the Logger.

public static Exception LogValidationException (string format, Exception inner, params object[] args);
static member LogValidationException : string * Exception * obj[] -> Exception
Public Shared Function LogValidationException (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 XmlValidationException.

Applies to