Share via


XEventException Class

Base exception class for all XEventException classes.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      Microsoft.SqlServer.Management.XEvent.XEventException

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class XEventException _
    Inherits SqlServerManagementException
'Usage
Dim instance As XEventException
[SerializableAttribute]
public class XEventException : SqlServerManagementException
[SerializableAttribute]
public ref class XEventException : public SqlServerManagementException
[<SerializableAttribute>]
type XEventException =  
    class 
        inherit SqlServerManagementException 
    end
public class XEventException extends SqlServerManagementException

The XEventException type exposes the following members.

Constructors

  Name Description
Public method XEventException() Initializes a new instance of the XEventException class.
Public method XEventException(String) Initializes a new instance of the XEventException class with a specified message that describes the error.
Protected method XEventException(SerializationInfo, StreamingContext) Initializes a new instance of the XEventException class with serialized data.
Public method XEventException(String, Exception) Initializes a new instance of the XEventException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HelpLink Gets a link to the help web site for an XEventException object. (Overrides Exception.HelpLink.)
Public property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Protected propertyStatic member ProdVer Gets the product version of an XEventException object.
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Security Critical. (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Protected method Init Initializes the properties of an instance of the XEventException class.
Protected method MemberwiseClone (Inherited from Object.)
Protected method SetHelpContext Sets help context for an instance of the XEventException class.
Public method ToString (Inherited from Exception.)

Top

Events

  Name Description
Protected event 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.

See Also

Reference

Microsoft.SqlServer.Management.XEvent Namespace