Konstruktor ConnectionFailureException (String)
Inicjuje nowe wystąpienie ConnectionFailureException 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 ConnectionFailureException(message)
public ConnectionFailureException(
string message
)
public:
ConnectionFailureException(
String^ message
)
new :
message:string -> ConnectionFailureException
public function ConnectionFailureException(
message : String
)
Parametry
- message
Typ: System.String
A String wartość, która określa tekst komunikatu, opisujący zdarzenie, który spowodował wyjątek.