Udostępnij za pośrednictwem


Konstruktor InvalidArgumentException (String)

Inicjuje nowe wystąpienie InvalidArgumentException 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 InvalidArgumentException(message)
public InvalidArgumentException(
    string message
)
public:
InvalidArgumentException(
    String^ message
)
new : 
        message:string -> InvalidArgumentException
public function InvalidArgumentException(
    message : String
)

Parametry

  • message
    Typ: System.String
    A String wartość, która określa tekst komunikatu, opisujący zdarzenie, który spowodował wyjątek.