UtilityException Class
The UtilityException class defines methods and properties that record utility exception information. It is the base class for all utility exception types.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Utility.UtilityException
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class UtilityException _
Inherits SqlServerManagementException
'Usage
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
The UtilityException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
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. |
Top
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) | |
HelpLink | Gets a link to the SQL Server Help Web site. (Overrides Exception.HelpLink.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
Message | (Inherited from Exception.) | |
ProdVer | Gets the product version of SQL Server. | |
Source | (Inherited from Exception.) | |
StackTrace | (Inherited from Exception.) | |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Security Critical. (Inherited from Exception.) | |
GetType | (Inherited from Exception.) | |
Init | Initializes the exception properties. | |
MemberwiseClone | (Inherited from Object.) | |
SetHelpContext | Defines the Help context identifier for the exception. | |
ToString | (Inherited from Exception.) |
Top
Events
Name | Description | |
---|---|---|
SerializeObjectState | (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.