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
-
Nov
18
15 Minutes of Fame
Dresher, United States
This is a yearly tradition. We select 10 of the favorite speakers from monthly meetings, code camps, and hands on labs. Each one does a 15 minute talk on their favorite .NET technology. This is our 10th anniversary so we plan a gala event with special prizes and refreshments.
how can define "SqlDatabaseException"?
!--removed tag-->This thread is for discussions of SQL Data Provider VB.NET Class.