Condividi tramite


Classe ActionNotSupportedException

The ActionNotSupportedException class is used to raise an exception when the requested data-tier action, such as upgrade or register, is not supported by the version of the Database Engine the application is connected to.

Spazio dei nomi  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Sintassi

'Dichiarazione
<SerializableAttribute> _
Public NotInheritable Class ActionNotSupportedException _
    Inherits DeploymentValidationException
'Utilizzo
Dim instance As ActionNotSupportedException
[SerializableAttribute]
public sealed class ActionNotSupportedException : DeploymentValidationException
[SerializableAttribute]
public ref class ActionNotSupportedException sealed : public DeploymentValidationException
[<SealedAttribute>]
[<SerializableAttribute>]
type ActionNotSupportedException =  
    class
        inherit DeploymentValidationException
    end
public final class ActionNotSupportedException extends DeploymentValidationException

Nel tipo ActionNotSupportedException sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico ActionNotSupportedException(Exception) Initializes an instance of the ActionNotSupportedException class when there was an inner exception that caused this exception.
Metodo pubblico ActionNotSupportedException(String) Initializes an instance of the ActionNotSupportedException class with a message.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica DacExceptionType Gets the type of the exception. Ereditato da DacException.
Proprietà pubblica Data Ereditato da Exception.
Proprietà pubblica HelpLink Gets a string with the URL help link that further explains the exception. Ereditato da DacException.
Proprietà protetta HResult Ereditato da Exception.
Proprietà pubblica InnerException Ereditato da Exception.
Proprietà pubblica Message Ereditato da Exception.
Proprietà pubblica Source Ereditato da Exception.
Proprietà pubblica StackTrace Ereditato da Exception.
Proprietà pubblica TargetSite Ereditato da Exception.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetBaseException Ereditato da Exception.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetObjectData Ereditato da Exception.
Metodo pubblico GetType Ereditato da Exception.
Metodo protetto Init Initializes provider properties. Ereditato da DacException.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo protetto SetHelpContext Sets the help context for the help link. Ereditato da DacException.
Metodo pubblico ToString Ereditato da Exception.

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.