Udostępnij za pośrednictwem


Konstruktor PropertyCannotBeRetrievedException (String, Exception)

Inicjuje nowe wystąpienie PropertyCannotBeRetrievedException 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 PropertyCannotBeRetrievedException(message, _
    innerException)
public PropertyCannotBeRetrievedException(
    string message,
    Exception innerException
)
public:
PropertyCannotBeRetrievedException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> PropertyCannotBeRetrievedException
public function PropertyCannotBeRetrievedException(
    message : String, 
    innerException : Exception
)

Parametry

  • message
    Typ: System.String
    A String wartość, która określa ciąg wiadomości dla wyjątków nie można pobrać właściwości.
  • innerException
    Typ: System.Exception
    Exception Obiekt, który określa wyjątek wewnętrzny wyjątek nie można pobrać właściwości.