NetworkStatusChangedEventHandler NetworkStatusChangedEventHandler NetworkStatusChangedEventHandler NetworkStatusChangedEventHandler 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)
struct NetworkStatusChangedEventHandler : winrt::Windows::Foundation::IUnknown
{
   NetworkStatusChangedEventHandler(std::nulptr_t = nullptr) noexcept {}
   template <typename L> NetworkStatusChangedEventHandler(L lambda);
   template <typename F> NetworkStatusChangedEventHandler(F* function);
   template <typename O, typename M> NetworkStatusChangedEventHandler(O* object, M method);
   void operator()(winrt::Windows::Networking::Connectivity::NetworkStatusChangedEventHandler const& sender) const;
};
public delegate void NetworkStatusChangedEventHandler(Object sender)
Public Delegate NetworkStatusChangedEventHandler(sender As Object)
var networkStatusChangedEventHandler = function(sender) {

 /* Your code */

}
Parameters
sender
Object Object Object

A Object that raised the event.

Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)