Konstruktor WrongPropertyValueException (String, Exception)
Inicjuje nowe wystąpienie WrongPropertyValueException klasy z określonym komunikatem i określonym wewnętrzny wyjątek.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
Public Sub New ( _
message As String, _
innerException As Exception _
)
'Użycie
Dim message As String
Dim innerException As Exception
Dim instance As New WrongPropertyValueException(message, _
innerException)
public WrongPropertyValueException(
string message,
Exception innerException
)
public:
WrongPropertyValueException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> WrongPropertyValueException
public function WrongPropertyValueException(
message : String,
innerException : Exception
)
Parametry
- message
Typ: System.String
A String wartość, która określa tekst komunikatu, skojarzony z niewłaściwej właściwość wartość wyjątku.
- innerException
Typ: System.Exception
Exception Wartość obiektu systemu, który określa wyjątek, który spowodował wyjątek wartości właściwość niewłaściwy.