Classe DacExtractionException
The DacExtractionException class is a an exception that is raised when an error occurs during extraction of a DAC package.
Hiérarchie d'héritage
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
Microsoft.SqlServer.Management.Dac. . :: . .DacException
Microsoft.SqlServer.Management.Dac..::..DacExtractionException
Espace de noms : Microsoft.SqlServer.Management.Dac
Assembly : Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)
Syntaxe
'Déclaration
<SerializableAttribute> _
Public NotInheritable Class DacExtractionException _
Inherits DacException
'Utilisation
Dim instance As DacExtractionException
[SerializableAttribute]
public sealed class DacExtractionException : DacException
[SerializableAttribute]
public ref class DacExtractionException sealed : public DacException
[<SealedAttribute>]
[<SerializableAttribute>]
type DacExtractionException =
class
inherit DacException
end
public final class DacExtractionException extends DacException
Le type DacExtractionException expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
DacExtractionException(String) | Initializes a new instance of the DacExtractionException class that has the specified message text. | |
DacExtractionException(String, Exception) | Initializes a new instance of the DacExtractionException class that has the specified message text and inner exception. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
DacExceptionType | Gets the type of the exception. (hérité de DacException.) | |
Data | (hérité de Exception.) | |
HelpLink | Gets a string with the URL help link that further explains the exception. (hérité de DacException.) | |
HResult | (hérité de Exception.) | |
InnerException | (hérité de Exception.) | |
Message | (hérité de Exception.) | |
Source | (hérité de Exception.) | |
StackTrace | (hérité de Exception.) | |
TargetSite | (hérité de Exception.) |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Equals | (hérité de Object.) | |
Finalize | (hérité de Object.) | |
GetBaseException | (hérité de Exception.) | |
GetHashCode | (hérité de Object.) | |
GetObjectData | (hérité de Exception.) | |
GetType | (hérité de Exception.) | |
Init | Initializes provider properties. (hérité de DacException.) | |
MemberwiseClone | (hérité de Object.) | |
SetHelpContext | Sets the help context for the help link. (hérité de DacException.) | |
ToString | (hérité de Exception.) |
Haut de la page
Notes
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
Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
Voir aussi