NetworkAvailableEventHandler Delegado

Definición

Representa el método que controlará el evento My.Application.NetworkAvailabilityChanged o My.Computer.Network.NetworkAvailabilityChanged.Represents the method that will handle the My.Application.NetworkAvailabilityChanged or My.Computer.Network.NetworkAvailabilityChanged event.

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

Parámetros

sender
Object

Origen del evento.The source of the event.

e
NetworkAvailableEventArgs

Objeto NetworkAvailableEventArgs que contiene los datos del evento.A NetworkAvailableEventArgs object that contains the event data.

Comentarios

En Visual Basic, no es necesario trabajar explícitamente con este delegado.In Visual Basic, you do not need to work with this delegate explicitly. Para obtener más información, vea el WindowsFormsApplicationBase.NetworkAvailabilityChanged evento o el Network.NetworkAvailabilityChanged evento.For more information, see the WindowsFormsApplicationBase.NetworkAvailabilityChanged event or the Network.NetworkAvailabilityChanged event.

Métodos de extensión

GetMethodInfo(Delegate)

Obtiene un objeto que representa el método representado por el delegado especificado.Gets an object that represents the method represented by the specified delegate.

Se aplica a

Consulte también