Share via


NetworkStatusChangedEventHandler Delegate

Definition

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

public delegate void NetworkStatusChangedEventHandler(Platform::Object ^ sender);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1908020287, 22926, 18896, 132, 235, 143, 235, 174, 220, 193, 149)]
class NetworkStatusChangedEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1908020287, 22926, 18896, 132, 235, 143, 235, 174, 220, 193, 149)]
public delegate void NetworkStatusChangedEventHandler(object sender);
var networkStatusChangedEventHandlerHandler = function(sender){
/* Your code */
}
Public Delegate Sub NetworkStatusChangedEventHandler(sender As Object)

Parameters

sender
Object

Platform::Object

IInspectable

A Object that raised the event.

Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Applies to