This topic has not yet been rated - Rate this topic

NetworkNotificationEventArgs Class

Windows Phone

March 22, 2012

Provides data for the NetworkAvailabilityChanged event.

System.Object
  System.EventArgs
    Microsoft.Phone.Net.NetworkInformation.NetworkNotificationEventArgs

Namespace:  Microsoft.Phone.Net.NetworkInformation
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
public sealed class NetworkNotificationEventArgs : EventArgs

The NetworkNotificationEventArgs type exposes the following members.

  Name Description
Public property NetworkInterface Gets all available information about the network interface.
Public property NotificationType Gets the type of change that occurred.
Top
  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Top

Instances of this class are passed to the NetworkAvailabilityChanged event when the status of a network interface changes. Network interface changes include connecting, disconnecting, and changing roaming status.

Windows Phone OS

Supported in: 7.1

Windows Phone

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Did you find this helpful?
(1500 characters remaining)