'Declaration Public NotInheritable Class TdError
'Usage Dim instance As TdError
public sealed class TdError
public ref class TdError sealed
'Declaration Public NotInheritable Class TdError
'Usage Dim instance As TdError
public sealed class TdError
public ref class TdError sealed
TdException class encapsulates one or more instances of the TdError class.
Warnings are not exceptions and therefore are reported using TdConnection.InfoMessage event.
public TdConnection OpenConnection(String connectionString) { try { TdConnection cn = new TdConnection(connectionString); cn.Open(); return cn; } catch(TdException e) { for (int index = 0; index < e.Errors.Count; index++) { Console.WriteLine(“ERROR: {0} ({1})”, e.Errors[0].Message, e.Errors[0].Number); } throw; } return null; }
System.Object
Teradata.Client.Provider.TdError
Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019
TdError Members
Teradata.Client.Provider Namespace
Error Messages