Dela via


SfcException Class

The base class for all SFC exceptions. 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
        More...

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class SfcException _
    Inherits SqlServerManagementException
'Usage
Dim instance As SfcException
[SerializableAttribute]
public class SfcException : SqlServerManagementException
[SerializableAttribute]
public ref class SfcException : public SqlServerManagementException
[<SerializableAttribute>]
type SfcException =  
    class
        inherit SqlServerManagementException
    end
public class SfcException extends SqlServerManagementException

The SfcException type exposes the following members.

Constructors

  Name Description
Protected method SfcException() Initializes a new instance of the SfcException class. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method SfcException(String) Initializes a new instance of the SfcException class with a specified error message. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method SfcException(SerializationInfo, StreamingContext) Initializes a new instance of the SfcException class with the specified serialization information and streaming context. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method SfcException(String, Exception) Initializes a new instance of the SfcException 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. (Overrides Exception.HelpLink.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Protected propertyStatic member ProdVer Gets the product version of the instance of SQL Server that generated the SMO exception. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
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.
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.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      Microsoft.SqlServer.Management.Sdk.Sfc.SfcException
        Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObjectNotFoundException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcCRUDOperationFailedException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcDesignModeException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcEmptyXmlException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcInvalidArgumentException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcInvalidConnectionContextModeChangeException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcInvalidKeyChainException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcInvalidKeyException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcInvalidMoveException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcInvalidQueryExpressionException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcInvalidRenameException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcInvalidStateException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcInvalidStreamException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcInvalidXmlParentTypeException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcMetadataException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcMissingParentException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcNonSerializablePropertyException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcNonSerializableTypeException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectInitializationException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectNotScriptableException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcPathConversionException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcPropertyNotSetException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcPropertyReadOnlyException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcQueryConnectionUnavailableException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcSecurityException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcSerializationException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcSqlCeNotInstalledException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcUnregisteredXmlDomainException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcUnregisteredXmlTypeException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcUnsupportedVersionException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcUnsupportedVersionSerializationException