Udostępnij przez


Konstruktor MissingServerPermissionsForRePartException (String, Exception)

Inicjuje nowe wystąpienie MissingServerPermissionsForRePartException klasy z określony komunikat i wewnętrzny wyjątek.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Dac
Zestaw:  Microsoft.SqlServer.Management.Dac (w Microsoft.SqlServer.Management.Dac.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 MissingServerPermissionsForRePartException(message, _
    innerException)
public MissingServerPermissionsForRePartException(
    string message,
    Exception innerException
)
public:
MissingServerPermissionsForRePartException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> MissingServerPermissionsForRePartException
public function MissingServerPermissionsForRePartException(
    message : String, 
    innerException : Exception
)

Parametry

  • message
    Typ: System.String
    A String wartość, która określa tekst komunikatu, opisujący zdarzenie, który spowodował wyjątek.
  • innerException
    Typ: System.Exception
    Exception Obiekt zawierający wewnętrzny wyjątek.Ta jest używana podczas innym wyjątkiem należy podnieść powoduje wyjątek.