UtilityException 类
The UtilityException class defines methods and properties that record utility exception information. It is the base class for all utility exception types.
继承层次结构
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Utility.UtilityException
命名空间: Microsoft.SqlServer.Management.Utility
程序集: Microsoft.SqlServer.Management.Utility(在 Microsoft.SqlServer.Management.Utility.dll 中)
语法
声明
<SerializableAttribute> _
Public Class UtilityException _
Inherits SqlServerManagementException
用法
Dim instance As UtilityException
[SerializableAttribute]
public class UtilityException : SqlServerManagementException
[SerializableAttribute]
public ref class UtilityException : public SqlServerManagementException
[<SerializableAttribute>]
type UtilityException =
class
inherit SqlServerManagementException
end
public class UtilityException extends SqlServerManagementException
UtilityException 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
UtilityException() | Initializes a new, default instance of the UtilityException class with the default property values. | |
UtilityException(String) | Initializes a new, default instance of the UtilityException class with the specified error message. | |
UtilityException(SerializationInfo, StreamingContext) | Initializes a new, default instance of the UtilityException class with serialized data. | |
UtilityException(String, Exception) | Initializes a new, default instance of the UtilityException class with the specified error message and inner exception. |
页首
属性
名称 | 说明 | |
---|---|---|
Data | (从 Exception 继承。) | |
HelpLink | Gets a link to the SQL Server Help Web site. (覆盖 Exception.HelpLink。) | |
HResult | (从 Exception 继承。) | |
InnerException | (从 Exception 继承。) | |
Message | (从 Exception 继承。) | |
ProdVer | Gets the product version of SQL Server. | |
Source | (从 Exception 继承。) | |
StackTrace | (从 Exception 继承。) | |
TargetSite | (从 Exception 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
GetBaseException | (从 Exception 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetObjectData | 安全关键。 (从 Exception 继承。) | |
GetType | (从 Exception 继承。) | |
Init | Initializes the exception properties. | |
MemberwiseClone | (从 Object 继承。) | |
SetHelpContext | Defines the Help context identifier for the exception. | |
ToString | (从 Exception 继承。) |
页首
事件
名称 | 说明 | |
---|---|---|
SerializeObjectState | (从 Exception 继承。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。