語言

XmlUtil.LogWriteException 方法

定義

多載

名稱 Description
LogWriteException(String, Object[])

格式化 XmlWriteException 傳送給 Logger。

LogWriteException(String, Exception, Object[])

格式化 XmlWriteException 傳送給 Logger。

LogWriteException(String, Object[])

格式化 XmlWriteException 傳送給 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

參數

format
String

格式字串。

args
Object[]

格式化時的論點。

傳回

a XmlWriteException。

適用於

LogWriteException(String, Exception, Object[])

格式化 XmlWriteException 傳送給 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

參數

format
String

格式字串。

inner
Exception

內心的例外。

args
Object[]

格式化時的論點。

傳回

a XmlWriteException。

適用於