Classe SfcInvalidConnectionContextModeChangeException

The exception that is thrown when a connection context mode change that is not valid is attempted. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
Public NotInheritable Class SfcInvalidConnectionContextModeChangeException _
    Inherits SfcException
'Utilisation
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

Le type SfcInvalidConnectionContextModeChangeException expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique SfcInvalidConnectionContextModeChangeException() Initializes a new instance of the SfcInvalidConnectionContextModeChangeException class. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique SfcInvalidConnectionContextModeChangeException(String, String) Initializes a new instance of the SfcInvalidConnectionContextModeChangeException class with the specified connection context modes. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique 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. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Haut de la page

Propriétés

  Nom Description
Propriété publique Data (hérité de Exception.)
Propriété publique HelpLink Gets a link to the help file associated with this exception. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcException.)
Propriété publique HResult (hérité de Exception.)
Propriété publique InnerException (hérité de Exception.)
Propriété publique Message Gets the error message. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (remplace Exception.Message.)
Propriété publique Source (hérité de Exception.)
Propriété publique StackTrace (hérité de Exception.)
Propriété publique TargetSite (hérité de Exception.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode publique GetBaseException (hérité de Exception.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetObjectData Sets the SerializationInfo object with information about the exception. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (remplace Exception.GetObjectData(SerializationInfo, StreamingContext).)
Méthode publique GetType (hérité de Exception.)
Méthode protégée SetHelpContext Sets the help context value for the referenced exception. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcException.)
Méthode publique ToString (hérité de Exception.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Management.Sdk.Sfc