FailedTargetSelectionException-Klasse

The FailedTargetSelectionException class represents an exception that is thrown when target selection policy fails during deployment of a DAC.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

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

Der FailedTargetSelectionException-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode FailedTargetSelectionException() () () () Initializes a new default instance of the FailedTargetSelectionException class.
Öffentliche Methode FailedTargetSelectionException(Exception) Initializes a new instance of the DacExtractionException class with the specified inner exception.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft DacExceptionType Gets the type of the exception. (Geerbt von DacException.)
Öffentliche Eigenschaft Data (Geerbt von Exception.)
Öffentliche Eigenschaft HelpLink Gets a string with the URL help link that further explains the exception. (Geerbt von DacException.)
Geschützte Eigenschaft HResult (Geerbt von Exception.)
Öffentliche Eigenschaft InnerException (Geerbt von Exception.)
Öffentliche Eigenschaft Message (Geerbt von Exception.)
Öffentliche Eigenschaft Source (Geerbt von Exception.)
Öffentliche Eigenschaft StackTrace (Geerbt von Exception.)
Öffentliche Eigenschaft TargetSite (Geerbt von Exception.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetBaseException (Geerbt von Exception.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetObjectData (Geerbt von Exception.)
Öffentliche Methode GetType (Geerbt von Exception.)
Geschützte Methode Init Initializes provider properties. (Geerbt von DacException.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Geschützte Methode SetHelpContext Sets the help context for the help link. (Geerbt von DacException.)
Öffentliche Methode ToString (Geerbt von Exception.)

Zum Anfang

Hinweise

If the user chooses to skip policy evaluation in the deployment, this exception will not be thrown.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.