Share via


SfcInvalidKeyException Class

The exception that is thrown when a key is not valid. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class SfcInvalidKeyException _
    Inherits SfcException
'Usage
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

The SfcInvalidKeyException type exposes the following members.

Constructors

  Name Description
Public method SfcInvalidKeyException() Initializes a new instance of the SfcInvalidKeyException class. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method SfcInvalidKeyException(String) Initializes a new instance of the SfcInvalidKeyException class using the specified key name. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method 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. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HelpLink Gets a link to the help file associated with this exception. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcException.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message Gets the error message. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides Exception.Message.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Sets the SerializationInfo object with information about the exception. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method SetHelpContext Sets the help context value for the referenced exception. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcException.)
Public method ToString (Inherited from Exception.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.