XmlUtil.LogWriteException Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.