NetworkStatusChangedEventHandler Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|