Condividi tramite


Classe SfcInvalidConnectionContextModeChangeException

The exception that is thrown when a connection context mode change that is not valid is attempted. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

Gerarchia di ereditarietà

System. . :: . .Object
  System. . :: . .Exception
    Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
      Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcException
        Microsoft.SqlServer.Management.Sdk.Sfc..::..SfcInvalidConnectionContextModeChangeException

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
<SerializableAttribute> _
Public NotInheritable Class SfcInvalidConnectionContextModeChangeException _
    Inherits SfcException
'Utilizzo
Dim instance As SfcInvalidConnectionContextModeChangeException
[SerializableAttribute]
public sealed class SfcInvalidConnectionContextModeChangeException : SfcException
[SerializableAttribute]
public ref class SfcInvalidConnectionContextModeChangeException sealed : public SfcException
[<SealedAttribute>]
[<SerializableAttribute>]
type SfcInvalidConnectionContextModeChangeException =  
    class
        inherit SfcException
    end
public final class SfcInvalidConnectionContextModeChangeException extends SfcException

Nel tipo SfcInvalidConnectionContextModeChangeException sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico SfcInvalidConnectionContextModeChangeException() () () () Initializes a new instance of the SfcInvalidConnectionContextModeChangeException class. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.
Metodo pubblico SfcInvalidConnectionContextModeChangeException(String, String) Initializes a new instance of the SfcInvalidConnectionContextModeChangeException class with the specified connection context modes. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.
Metodo pubblico SfcInvalidConnectionContextModeChangeException(String, String, Exception) Initializes a new instance of the SfcInvalidConnectionContextModeChangeException class with the specified connection context modes and a reference to the inner exception that is the cause of this exception. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Data Ereditato da Exception.
Proprietà pubblica HelpLink Gets a link to the help file associated with this exception. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcException.
Proprietà protetta HResult Ereditato da Exception.
Proprietà pubblica InnerException Ereditato da Exception.
Proprietà pubblica Message Gets the error message. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Esegue l'override di Exception. . :: . .Message.
Proprietà pubblica Source Ereditato da Exception.
Proprietà pubblica StackTrace Ereditato da Exception.
Proprietà pubblica TargetSite Ereditato da Exception.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetBaseException Ereditato da Exception.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetObjectData Sets the SerializationInfo object with information about the exception. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Esegue l'override di Exception. . :: . .GetObjectData(SerializationInfo, StreamingContext).
Metodo pubblico GetType Ereditato da Exception.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo protetto SetHelpContext Sets the help context value for the referenced exception. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcException.
Metodo pubblico ToString Ereditato da Exception.

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.