Table of Contents

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 object

Specifies the object that sent the network availability changed event.

e NetworkAvailabilityEventArgs

Contains the network availability changed event arguments.

Extension Methods

Constructors

NetworkAvailabilityChangedEventHandler(object, IntPtr)

public NetworkAvailabilityChangedEventHandler(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(object, NetworkAvailabilityEventArgs, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(object sender, NetworkAvailabilityEventArgs e, AsyncCallback callback, object @object)

Parameters

sender object
e NetworkAvailabilityEventArgs
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(object, NetworkAvailabilityEventArgs)

public virtual void Invoke(object sender, NetworkAvailabilityEventArgs e)

Parameters

sender object
e NetworkAvailabilityEventArgs