UtilityException Class

Definition

The UtilityException class defines methods and properties that record utility exception information. It is the base class for all utility exception types.

public ref class UtilityException : Microsoft::SqlServer::Management::Common::SqlServerManagementException
[System.Serializable]
public class UtilityException : Microsoft.SqlServer.Management.Common.SqlServerManagementException
type UtilityException = class
    inherit SqlServerManagementException
Public Class UtilityException
Inherits SqlServerManagementException
Inheritance
UtilityException
Attributes

Constructors

UtilityException()

Initializes a new, default instance of the UtilityException class with the default property values.

UtilityException(SerializationInfo, StreamingContext)

Initializes a new, default instance of the UtilityException class with serialized data.

UtilityException(String)

Initializes a new, default instance of the UtilityException class with the specified error message.

UtilityException(String, Exception)

Initializes a new, default instance of the UtilityException class with the specified error message and inner exception.

Properties

HelpLink

Gets a link to the SQL Server Help Web site.

ProdVer

Gets the product version of SQL Server.

Methods

Init()

Initializes the exception properties.

SetHelpContext(String)

Defines the Help context identifier for the exception.

Applies to