Export (0) Print
Expand All

UtilityException Class

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

Object
  Exception
    SqlServerManagementException
      Microsoft.SqlServer.Management.Utility.UtilityException

Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

[SerializableAttribute]
public class UtilityException : SqlServerManagementException

The UtilityException type exposes the following members.

  NameDescription
Public methodUtilityException()Initializes a new, default instance of the UtilityException class with the default property values.
Public methodUtilityException(String)Initializes a new, default instance of the UtilityException class with the specified error message.
Protected methodUtilityException(SerializationInfo, StreamingContext)Initializes a new, default instance of the UtilityException class with serialized data.
Public methodUtilityException(String, Exception)Initializes a new, default instance of the UtilityException class with the specified error message and inner exception.
Top

  NameDescription
Public propertyData (Inherited from Exception.)
Public propertyHelpLinkGets a link to the SQL Server Help Web site. (Overrides ExceptionHelpLink.)
Public propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Protected propertyStatic memberProdVerGets the product version of SQL Server.
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectDataSecurity Critical. (Inherited from Exception.)
Public methodGetType (Inherited from Exception.)
Protected methodInitInitializes the exception properties.
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodSetHelpContextDefines the Help context identifier for the exception.
Public methodToString (Inherited from Exception.)
Top

  NameDescription
Protected eventSerializeObjectState (Inherited from Exception.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft