ConnectionErrorEventHandler 委托

定义

表示将处理错误 ConnectionErrorEventHandler事件的方法。

public delegate void ConnectionErrorEventHandler(System::Object ^ sender, ConnectionErrorEventArgs ^ args);
public delegate void ConnectionErrorEventHandler(object sender, ConnectionErrorEventArgs args);
type ConnectionErrorEventHandler = delegate of obj * ConnectionErrorEventArgs -> unit
Public Delegate Sub ConnectionErrorEventHandler(sender As Object, args As ConnectionErrorEventArgs)

参数

sender
Object

一个 Object,它表示事件的源。

args
ConnectionErrorEventArgs

包含事件数据的 ConnectionErrorEventArgs

适用于