Konstruktor ConnectionException (String)
Inicjuje nowe wystąpienie ConnectionException klasy z tekstem określoną wiadomość.
Przestrzeń nazw: Microsoft.SqlServer.Management.Common
Zestaw: Microsoft.SqlServer.ConnectionInfo (w Microsoft.SqlServer.ConnectionInfo.dll)
Składnia
'Deklaracja
Public Sub New ( _
message As String _
)
'Użycie
Dim message As String
Dim instance As New ConnectionException(message)
public ConnectionException(
string message
)
public:
ConnectionException(
String^ message
)
new :
message:string -> ConnectionException
public function ConnectionException(
message : String
)
Parametry
- message
Typ: System.String
A String wartość, która określa tekst komunikatu, opisujący zdarzenie, który spowodował wyjątek.