AppNotificationManager.RemoveByIdAsync(UInt32) 메서드

정의

알림 센터에서 지정된 ID를 사용하여 앱 알림을 비동기적으로 제거합니다(Windows 10 알림 센터라고 함).

참고

AppNotificationManager 클래스는 Singleton 패키지에 종속됩니다. 이러한 종속성 때문에 자체 포함 앱에서 이러한 API를 호출하는 경우 주의해야 할 특정 고려 사항이 있습니다. 자세한 정보 및 세부 정보는 추가 MSIX 패키지에 대한 종속성을 참조하세요.

public:
 virtual IAsyncAction ^ RemoveByIdAsync(unsigned int notificationId) = RemoveByIdAsync;
IAsyncAction RemoveByIdAsync(uint32_t const& notificationId);
public IAsyncAction RemoveByIdAsync(uint notificationId);
function removeByIdAsync(notificationId)
Public Function RemoveByIdAsync (notificationId As UInteger) As IAsyncAction

매개 변수

notificationId
UInt32

unsigned int

uint32_t

제거할 앱 알림의 고유 식별자입니다. ID는 플랫폼에서 설정되며 Id 속성을 사용하여 액세스할 수 있습니다.

반환

비동기 작업입니다.

적용 대상