Share via


Classe SfcInvalidKeyException

The exception that is thrown when a key is not valid. Ne référencez pas directement 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..::..SfcInvalidKeyException

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 SfcInvalidKeyException _
    Inherits SfcException
'Utilisation
Dim instance As SfcInvalidKeyException
[SerializableAttribute]
public sealed class SfcInvalidKeyException : SfcException
[SerializableAttribute]
public ref class SfcInvalidKeyException sealed : public SfcException
[<SealedAttribute>]
[<SerializableAttribute>]
type SfcInvalidKeyException =  
    class
        inherit SfcException
    end
public final class SfcInvalidKeyException extends SfcException

Le type SfcInvalidKeyException expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique SfcInvalidKeyException() () () () Initializes a new instance of the SfcInvalidKeyException class. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique SfcInvalidKeyException(String) Initializes a new instance of the SfcInvalidKeyException class using the specified key name. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique SfcInvalidKeyException(String, Exception) Initializes a new instance of the SfcInvalidKeyException class using the specified key name and a reference to the inner exception that is the cause of this exception. Ne référencez pas directement 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 référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcException.)
Propriété protégée HResult (hérité de Exception.)
Propriété publique InnerException (hérité de Exception.)
Propriété publique Message Gets the error message. Ne référencez pas directement 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 protégée Finalize (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 référencez pas directement 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 MemberwiseClone (hérité de Object.)
Méthode protégée SetHelpContext Sets the help context value for the referenced exception. Ne référencez pas directement 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.