Share via


DeploymentValidationException Class

The DeploymentValidationException class represents an exception thrown during DAC deployment due to a validation error.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      Microsoft.SqlServer.Management.Dac.DacException
        Microsoft.SqlServer.Management.Dac.DeploymentValidationException
          More...

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

Syntax

'Declaration
<SerializableAttribute> _
Public MustInherit Class DeploymentValidationException _
    Inherits DacException
'Usage
Dim instance As DeploymentValidationException
[SerializableAttribute]
public abstract class DeploymentValidationException : DacException
[SerializableAttribute]
public ref class DeploymentValidationException abstract : public DacException
[<AbstractClassAttribute>]
[<SerializableAttribute>]
type DeploymentValidationException =  
    class
        inherit DacException
    end
public abstract class DeploymentValidationException extends DacException

The DeploymentValidationException type exposes the following members.

Constructors

  Name Description
Public method DeploymentValidationException(String) Initializes a new DeploymentValidationException instance with the specified error message.
Public method DeploymentValidationException(String, Exception) Initializes a new instance of the DeploymentValidationException class that has the specified message text and inner exception.

Top

Properties

  Name Description
Public property DacExceptionType Gets the type of the exception. (Inherited from DacException.)
Public property Data (Inherited from Exception.)
Public property HelpLink Gets a string with the URL help link that further explains the exception. (Inherited from DacException.)
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 Init Initializes provider properties. (Inherited from DacException.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method SetHelpContext Sets the help context for the help link. (Inherited from DacException.)
Public method ToString (Inherited from Exception.)

Top

Remarks

This class is the base class that is inherited by all other validation exceptions.

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.Dac.DacException
        Microsoft.SqlServer.Management.Dac.DeploymentValidationException
          Microsoft.SqlServer.Management.Dac.ActionNotSupportedException
          Microsoft.SqlServer.Management.Dac.ConnectionNotSetException
          Microsoft.SqlServer.Management.Dac.FailedTargetSelectionException
          Microsoft.SqlServer.Management.Dac.InvalidaDACTypeCredentialsException
          Microsoft.SqlServer.Management.Dac.InvalidaDatabaseStateException
          Microsoft.SqlServer.Management.Dac.MissingDacSchemaException
          Microsoft.SqlServer.Management.Dac.MissingServerPermissionsException
          Microsoft.SqlServer.Management.Dac.MissingServerPermissionsForRePartException