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


The error text.
The exception to register.
Registers an error and an exception in the repository and, optionally, logs them to the error log file.
Syntax
'Declaration
 
Public Overloads Sub RegisterError( _
   ByVal error As System.String, _
   ByVal ex As System.Exception _
) 
public void RegisterError( 
   System.string error,
   System.Exception ex
)
public: void RegisterError( 
   System.string* error,
   System.Exception* ex
) 

Parameters

error
The error text.
ex
The exception to register.
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