This topic has not yet been rated - Rate this topic

NetworkStatusChangedEventHandler delegate

Represents the method that handles network status change notifications. This method is called when any properties exposed by the NetworkInformation object changes.

Syntax


var networkStatusChangedEventHandler = function(sender) {
 /* Your code */
}

Attributes

GuidAttribute("71ba143f-598e-49d0-84eb-8febaedcc195")
VersionAttribute(NTDDI_WIN8)

Parameters

sender

Type: Object [JavaScript] | System.Object [.NET] | Platform::Object [C++]

The source of the event.

Remarks

To receive any status change notifications, this delegate must be implemented and registered with the NetworkStatusChanged event. On an event callback, the user can then query the NetworkInformation object to check the status of the properties of interest. For an example of this implementation, see Quickstart: Managing connection events and changes in availability.

Windows Phone 8

This API is not implemented and will throw an exception if called.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Networking.Connectivity
Windows::Networking::Connectivity [C++]

Metadata

Windows.winmd

See also

Quickstart: Managing connection events and changes in availability

 

 

Build date: 2/25/2013

© 2013 Microsoft. All rights reserved.