Share via


ConnectivityChangedEventArgs Constructor

Definition

Initializes a new instance of the ConnectivityChangedEventArgs class.

public:
 ConnectivityChangedEventArgs(Microsoft::Maui::Networking::NetworkAccess access, System::Collections::Generic::IEnumerable<Microsoft::Maui::Networking::ConnectionProfile> ^ connectionProfiles);
public ConnectivityChangedEventArgs (Microsoft.Maui.Networking.NetworkAccess access, System.Collections.Generic.IEnumerable<Microsoft.Maui.Networking.ConnectionProfile> connectionProfiles);
new Microsoft.Maui.Networking.ConnectivityChangedEventArgs : Microsoft.Maui.Networking.NetworkAccess * seq<Microsoft.Maui.Networking.ConnectionProfile> -> Microsoft.Maui.Networking.ConnectivityChangedEventArgs
Public Sub New (access As NetworkAccess, connectionProfiles As IEnumerable(Of ConnectionProfile))

Parameters

access
NetworkAccess

The current access of the network.

connectionProfiles
IEnumerable<ConnectionProfile>

The connection profiles changing correspondingto this event.

Applies to