다음을 통해 공유


ToastNotifier.Hide(ToastNotification) 메서드

정의

화면에서 지정된 알림 메시지를 제거합니다.

public:
 virtual void Hide(ToastNotification ^ notification) = Hide;
void Hide(ToastNotification const& notification);
public void Hide(ToastNotification notification);
function hide(notification)
Public Sub Hide (notification As ToastNotification)

매개 변수

notification
ToastNotification

숨길 알림을 지정하는 개체입니다.

설명

앱에서 알림을 발생시킨 상황이나 작업이 더 이상 문제가 되지 않는 경우 숨기기를 호출합니다. 이 메서드는 앱이 포그라운드에 있을 때만 호출해야 합니다.

Windows Phone 8.x 앱의 경우: 이 메서드는 알림 센터에서 알림 메시지도 제거합니다.

적용 대상