SfcInvalidStateException Class

The exception that is thrown when the requested operation is not valid for the object in its current state. 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.SfcInvalidStateException

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

The SfcInvalidStateException type exposes the following members.

Constructors

  Name Description
Public method SfcInvalidStateException() Initializes a new instance of the SfcInvalidStateException class. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method SfcInvalidStateException(String) Initializes a new instance of the SfcInvalidStateException class with the specified error message. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method SfcInvalidStateException(String, Exception) Initializes a new instance of the SfcInvalidStateException class with the specified error message 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 (Inherited from Exception.)
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 (Inherited from Exception.)
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.