AppNotification 클래스

정의

앱 알림을 나타냅니다.

public ref class AppNotification sealed
/// [Windows.Foundation.Metadata.Activatable(Microsoft.Windows.AppNotifications.IAppNotificationFactory, 65536, "Microsoft.Windows.AppNotifications.AppNotificationsContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.AppNotifications.AppNotificationsContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppNotification final
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.Windows.AppNotifications.IAppNotificationFactory), 65536, "Microsoft.Windows.AppNotifications.AppNotificationsContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.AppNotifications.AppNotificationsContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppNotification
function AppNotification(payload)
Public NotInheritable Class AppNotification
상속
Object Platform::Object IInspectable AppNotification
특성

설명

작업 표시줄 위의 알림 메시지를 보여 주는 화면 캡처입니다. 알림은 이벤트에 대한 미리 알림입니다. 앱 이름, 이벤트 이름, 이벤트 시간 및 이벤트 위치가 표시됩니다. 선택 입력은 현재 선택한 값인 Going을 표시합니다. RSVP 및 해제라는 두 개의 단추가 있습니다.

앱 알림을 구현하는 방법에 대한 지침은 빠른 시작: Windows App SDK 앱 알림을 참조하세요.

생성자

AppNotification(String)

AppNotification 클래스의 새 instance 만듭니다.

속성

Expiration

앱 알림이 표시되지 않아야 하는 시간을 가져오거나 설정합니다.

ExpiresOnReboot

다시 부팅한 후 앱 알림이 알림 센터(Windows 10 알림 센터라고 함)에 남아 있는지 여부를 지정하는 값을 가져옵니다.

Group

앱 알림 그룹에 대한 고유 식별자를 가져오거나 설정합니다.

Id

앱 알림에 대한 고유한 플랫폼 생성 식별자를 가져옵니다.

Payload

알림의 XML 페이로드를 가져옵니다.

Priority

앱 알림의 우선 순위를 가져오거나 설정합니다.

Progress

앱 알림의 진행률에 대한 정보를 가져오거나 설정합니다.

SuppressDisplay

앱 알림의 팝업 UI가 사용자의 화면에 표시되는지 여부를 지정하는 값을 가져오거나 설정합니다.

Tag

그룹 전체에서 앱 알림 집합을 식별하는 데 사용할 수 있는 고유 식별자를 가져오거나 설정합니다.

적용 대상