Delegate NetworkAvailabilityChangedEventHandler
- Namespace
- System.Net.NetworkInformation
- Assembly
- System.Net.dll
Indicates a change in the availability of the network.
public delegate void NetworkAvailabilityChangedEventHandler(object sender, NetworkAvailabilityEventArgs e)
Parameters
sender
objectSpecifies the object that sent the network availability changed event.
e
NetworkAvailabilityEventArgsContains the network availability changed event arguments.
- Extension Methods
Constructors
NetworkAvailabilityChangedEventHandler(object, IntPtr)
public NetworkAvailabilityChangedEventHandler(object @object, IntPtr method)
Parameters
Methods
BeginInvoke(object, NetworkAvailabilityEventArgs, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(object sender, NetworkAvailabilityEventArgs e, AsyncCallback callback, object @object)
Parameters
sender
objecte
NetworkAvailabilityEventArgscallback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Invoke(object, NetworkAvailabilityEventArgs)
public virtual void Invoke(object sender, NetworkAvailabilityEventArgs e)
Parameters
sender
objecte
NetworkAvailabilityEventArgs