XEventException 類別

定義

這是針對 QueryableXEvent 來源拋出的例外。

public ref class XEventException : Exception
[System.Serializable]
public class XEventException : Exception
[<System.Serializable>]
type XEventException = class
    inherit Exception
Public Class XEventException
Inherits Exception
繼承
XEventException
衍生
屬性

建構函式

名稱 Description
XEventException()

初始化一個新的類別實例 XEventException ,使用預設值。

XEventException(SerializationInfo, StreamingContext)

使用指定的串行化和內容資訊,初始化 XEventException 類別的新實例。

XEventException(String, Exception)

初始化類別的新實例 XEventException ,並附上指定的錯誤訊息及導致該異常的內部例外的參考。

XEventException(String)

使用指定的錯誤訊息,初始化 XEventException 類別的新實例。

適用於