Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DacExtractionException Class

The DacExtractionException class is a an exception that is raised when an error occurs during extraction of a DAC package.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
[SerializableAttribute]
public sealed class DacExtractionException : DacException

The DacExtractionException type exposes the following members.

  NameDescription
Public methodDacExtractionException(String)Initializes a new instance of the DacExtractionException class that has the specified message text.
Public methodDacExtractionException(String, Exception)Initializes a new instance of the DacExtractionException class that has the specified message text and inner exception.
Top
  NameDescription
Public propertyDacExceptionTypeGets the type of the exception. (Inherited from DacException.)
Public propertyData (Inherited from Exception.)
Public propertyHelpLinkGets a string with the URL help link that further explains the exception. (Inherited from DacException.)
Protected propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)
Top
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectData (Inherited from Exception.)
Public methodGetType (Inherited from Exception.)
Protected methodInitInitializes provider properties. (Inherited from DacException.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodSetHelpContextSets the help context for the help link. (Inherited from DacException.)
Public methodToString (Inherited from Exception.)
Top

By using the DacExtractionException class you can do the following:

  • Handle errors generated by the DAC namespace during extraction.

  • Determine the cause of the error.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.