xSQL Schema Compare SDK for SQL Server version 12
LogError(String,Exception) Method


The error text to log.
The exception to log.
Logs an error and an exception to the error log file.
Syntax
'Declaration
 
Public Overloads Sub LogError( _
   ByVal error As System.String, _
   ByVal ex As System.Exception _
) 
public void LogError( 
   System.string error,
   System.Exception ex
)
public: void LogError( 
   System.string* error,
   System.Exception* ex
) 

Parameters

error
The error text to log.
ex
The exception to log.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ErrorRepositoryBase Class
ErrorRepositoryBase Members
Overload List

 

 


©Copyright 2022 xSQL Software. All Rights Reserved.

Send Feedback