NetworkAvailableEventHandler Delegato

Definizione

Rappresenta il metodo che gestirà l'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)

Parametri

sender
Object

Origine dell'evento.The source of the event.

e
NetworkAvailableEventArgs

Oggetto NetworkAvailableEventArgs contenente i dati dell'evento.A NetworkAvailableEventArgs object that contains the event data.

Commenti

In Visual Basic non è necessario utilizzare questo delegato in modo esplicito.In Visual Basic, you do not need to work with this delegate explicitly. Per ulteriori informazioni, vedere l' WindowsFormsApplicationBase.NetworkAvailabilityChanged evento o l'evento Network.NetworkAvailabilityChanged .For more information, see the WindowsFormsApplicationBase.NetworkAvailabilityChanged event or the Network.NetworkAvailabilityChanged event.

Metodi di estensione

GetMethodInfo(Delegate)

Ottiene un oggetto che rappresenta il metodo rappresentato dal delegato specificato.Gets an object that represents the method represented by the specified delegate.

Si applica a

Vedi anche