WebServiceErrorEvent 類別

定義

定義含有關於 Web 服務錯誤資訊的事件。

public ref class WebServiceErrorEvent : System::Web::Management::WebRequestErrorEvent
public class WebServiceErrorEvent : System.Web.Management.WebRequestErrorEvent
type WebServiceErrorEvent = class
    inherit WebRequestErrorEvent
Public Class WebServiceErrorEvent
Inherits WebRequestErrorEvent
繼承

備註

WebServiceErrorEvent如果 Web 服務要求期間發生錯誤,就會引發事件。 您的應用程式可以使用此事件來取得要求相關資訊,此資訊可透過 WebRequestInformation 和類別使用 WebThreadInformation

建構函式

WebServiceErrorEvent(String, Object, Exception)

使用指定的事件參數,初始化 WebServiceErrorEvent 類別的新執行個體。

屬性

ErrorException

取得與錯誤關聯的 Exception

(繼承來源 WebBaseErrorEvent)
EventCode

取得與事件關聯的代碼值。

(繼承來源 WebBaseEvent)
EventDetailCode

取得事件詳細資料代碼。

(繼承來源 WebBaseEvent)
EventID

取得與此事件相關聯的識別項。

(繼承來源 WebBaseEvent)
EventOccurrence

取得計數器,表示事件發生的次數。

(繼承來源 WebBaseEvent)
EventSequence

取得應用程式引發此事件的次數。

(繼承來源 WebBaseEvent)
EventSource

取得引發事件的物件。

(繼承來源 WebBaseEvent)
EventTime

取得事件引發的時間。

(繼承來源 WebBaseEvent)
EventTimeUtc

取得事件引發的時間。

(繼承來源 WebBaseEvent)
Message

取得描述事件的訊息。

(繼承來源 WebBaseEvent)
ProcessInformation

取得關於 ASP.NET 應用程式裝載處理序的資訊。

(繼承來源 WebManagementEvent)
RequestInformation

取得應用程式要求的資訊。

(繼承來源 WebRequestErrorEvent)
ThreadInformation

取得應用程式執行緒的資訊。

(繼承來源 WebRequestErrorEvent)
WebServiceErrorEventCode

取得與目前錯誤事件關聯的代碼。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
FormatCustomEventDetails(WebEventFormatter)

提供事件資訊的標準格式。

(繼承來源 WebBaseEvent)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
IncrementPerfCounters()

在內部使用,以逐步遞增相關的效能計數器。

(繼承來源 WebRequestErrorEvent)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
Raise()

告知設定的提供者事件已發生來引發事件。

(繼承來源 WebBaseEvent)
ToString()

針對顯示用途,格式化事件資訊。

(繼承來源 WebBaseEvent)
ToString(Boolean, Boolean)

針對顯示用途,格式化事件資訊。

(繼承來源 WebBaseEvent)

適用於