共用方式為


DataConnectionStateChangedEventHandler Delegate

Definition

Represents the method that handles the StateChanged event of a specified data connection.

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

Parameters

sender
Object

The source of the event.

e
DataConnectionStateChangedEventArgs

A DataConnectionStateChangedEventArgsobject instance that contains the event data.

Applies to