DacServicesException 类
Exception thrown for DAC service errors.
继承层次结构
System.Object
System.Exception
Microsoft.SqlServer.Dac.DacServicesException
命名空间: Microsoft.SqlServer.Dac
程序集: Microsoft.SqlServer.Dac(在 Microsoft.SqlServer.Dac.dll 中)
语法
声明
<SerializableAttribute> _
Public NotInheritable Class DacServicesException _
Inherits Exception
用法
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
DacServicesException 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
DacServicesException() | Construct a new instance of the DacServicesException class. | |
DacServicesException(String) | Construct a new instance of the DacServicesException class with the specified error message. | |
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. |
页首
属性
名称 | 说明 | |
---|---|---|
Data | (从 Exception 继承。) | |
HelpLink | (从 Exception 继承。) | |
HResult | (从 Exception 继承。) | |
InnerException | (从 Exception 继承。) | |
Message | (从 Exception 继承。) | |
Messages | Get collection of additional error, warning, and informational messages associated with this exception. | |
Source | (从 Exception 继承。) | |
StackTrace | (从 Exception 继承。) | |
TargetSite | (从 Exception 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | (从 Object 继承。) | |
GetBaseException | (从 Exception 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetObjectData | Write exception information to the supplied SerializationInfo object. (覆盖 Exception.GetObjectData(SerializationInfo, StreamingContext)。) | |
GetType | (从 Exception 继承。) | |
ToString | (从 Exception 继承。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。