다음을 통해 공유


Connectivity.ConnectivityChanged 이벤트

정의

네트워크 액세스 또는 프로필이 변경된 경우에 발생합니다.

public:
 static event EventHandler<Microsoft::Maui::Networking::ConnectivityChangedEventArgs ^> ^ ConnectivityChanged;
public static event EventHandler<Microsoft.Maui.Networking.ConnectivityChangedEventArgs> ConnectivityChanged;
member this.ConnectivityChanged : EventHandler<Microsoft.Maui.Networking.ConnectivityChangedEventArgs> 
Public Shared Custom Event ConnectivityChanged As EventHandler(Of ConnectivityChangedEventArgs) 

이벤트 유형

설명

가 매니페스트에 설정되지 않은 경우 ACCESS_NETWORK_STATE Android에서 을 throw PermissionException 할 수 있습니다.

적용 대상