ConnectionErrorEventArgs 類別

定義

當連線過程中發生錯誤時會發生。

public ref class ConnectionErrorEventArgs : EventArgs
public class ConnectionErrorEventArgs : EventArgs
type ConnectionErrorEventArgs = class
    inherit EventArgs
Public Class ConnectionErrorEventArgs
Inherits EventArgs
繼承
ConnectionErrorEventArgs

建構函式

名稱 Description
ConnectionErrorEventArgs(Exception)

初始化該類別的新實例 ConnectionErrorEventArgs ,並設定指定的例外參數。

屬性

名稱 Description
Exception

當執行 時 ConnectionErrorEventArgs發生錯誤時拋出的例外。

適用於