Library code snippets
SQL Data Provider VB.NET Class
- The Class
- Example Usage
- SqlDatabaseException
SqlDatabaseException
Namespace SqlDataProvider
''' <summary>
''' Represents errors that occur during application execution.
''' </summary>
Public Class SqlDatabaseException
Inherits Exception
#Region " Constructor "
''' <summary>
''' Initializes a new instance of the ADO.SqlDatabaseException class.
''' </summary>
Public Sub New()
End Sub
''' <summary>
''' Initializes a new instance of the ADO.SqlDatabaseException class with a specified error message.
''' </summary>
''' <param name="message">The message that describes the error.</param>
Public Sub New(ByVal message As String)
MyBase.New(message)
End Sub
''' <summary>
''' Initializes a new instance of the ADO.SqlDatabaseException class with a specified error message and a reference to the inner exception that is the cause of this exception.
''' </summary>
''' <param name="message">The error message that explains the reason for the exception.</param>
''' <param name="innerException">The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.</param>
Public Sub New(ByVal message As String, ByVal innerException As Exception)
MyBase.New(message, innerException)
End Sub
#End Region
End Class
End Namespace
Related articles
Related discussion
-
High-Performance .NET Application Development & Architecture
by Manjot Bawa (0 replies)
-
VB.NET Type 'SqlDatabaseException' not defined
by Mulish Mehdi (1 replies)
-
hey developers out there
by pitsophera (0 replies)
-
An Introduction to VB.NET and Database Programming
by carlosmen (14 replies)
-
How to view MYSQL db data in Microsoft word
by spanish (0 replies)
Related podcasts
-
Episode 10: LINQ
K Scott leads us in a discussion of LINQ, including: What is it How introducing LINQ to .NET changed the framework LINQ Providers LINQ to XML LINQ to SQL - how it's different from EF, tips and tricks, when to use it Links: LINQpad 3rd Party LIN...
Events coming up
-
Mar
15
DevWeek 2010
London, United Kingdom
DevWeek is Europe’s leading independent conference for software developers, database professionals and IT architects, and features expert speakers on a wide range of topics, including .NET 4.0, Silverlight 3, WCF 4, Visual Studio 2010, REST, Windows Workflow 4, Thread Synchronization, ASP.NET 4.0, SQL Server 2008 R2, LINQ, Unit Testing, CLR & C# 4.0, .NET Patterns, WPF 4, F#, Windows Azure, ADO.NET, Entity Framework, Debugging, T-SQL Tips & Tricks, and more.
how can define "SqlDatabaseException"?
!--removed tag-->This thread is for discussions of SQL Data Provider VB.NET Class.