Dela via


SfcInvalidConnectionContextModeChangeException Class

The exception that is thrown when a connection context mode change that is not valid is attempted. 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.SfcInvalidConnectionContextModeChangeException

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 SfcInvalidConnectionContextModeChangeException _
    Inherits SfcException
'Usage
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

The SfcInvalidConnectionContextModeChangeException type exposes the following members.

Constructors

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