ConnectivityChangedEventArgs 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 ConnectivityChangedEventArgs 类的新实例。
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))
参数
- access
- NetworkAccess
网络的当前访问权限。
- connectionProfiles
- IEnumerable<ConnectionProfile>
与此事件对应的连接配置文件更改。