Share via


DacServicesException Class

Exception thrown for DAC service errors.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.SqlServer.Dac.DacServicesException

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

Syntax

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

The DacServicesException type exposes the following members.

Constructors

  Name Description
Public method DacServicesException() Construct a new instance of the DacServicesException class.
Public method DacServicesException(String) Construct a new instance of the DacServicesException class with the specified error message.
Public method DacServicesException(String, Exception) Construct a new instance of the DacServicesException class with the specified error message and a reference to the inner exception that is the cause of this exception.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HelpLink (Inherited from Exception.)
Public property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property Messages Get collection of additional error, warning, and informational messages associated with this 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.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Write exception information to the supplied SerializationInfo object. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
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.

See Also

Reference

Microsoft.SqlServer.Dac Namespace