ToastNotificationActivatedEventArgs 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
사용자가 알림 메시지의 본문을 탭하거나 알림 메시지 내에서 작업을 수행했기 때문에 앱이 활성화될 때 발생하는 이벤트에 대한 정보를 제공합니다.
public ref class ToastNotificationActivatedEventArgs sealed : IToastNotificationActivatedEventArgs
public ref class ToastNotificationActivatedEventArgs sealed : IActivatedEventArgsWithUser, IToastNotificationActivatedEventArgs
public ref class ToastNotificationActivatedEventArgs sealed : IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IToastNotificationActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ToastNotificationActivatedEventArgs final : IToastNotificationActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ToastNotificationActivatedEventArgs final : IActivatedEventArgsWithUser, IToastNotificationActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ToastNotificationActivatedEventArgs final : IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IToastNotificationActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ToastNotificationActivatedEventArgs : IToastNotificationActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ToastNotificationActivatedEventArgs : IActivatedEventArgsWithUser, IToastNotificationActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ToastNotificationActivatedEventArgs : IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IToastNotificationActivatedEventArgs
Public NotInheritable Class ToastNotificationActivatedEventArgs
Implements IToastNotificationActivatedEventArgs
Public NotInheritable Class ToastNotificationActivatedEventArgs
Implements IActivatedEventArgsWithUser, IToastNotificationActivatedEventArgs
Public NotInheritable Class ToastNotificationActivatedEventArgs
Implements IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IToastNotificationActivatedEventArgs
- 상속
- 특성
- 구현
Windows 요구 사항
| 요구 사항 | Description |
|---|---|
| 디바이스 패밀리 |
Windows 10 (10.0.10240.0에서 도입되었습니다.)
|
| API contract |
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)
|
설명
ToastNotificationActivatedEventArgs는 사용자가 알림 메시지 본문을 탭하거나 알림 메시지 내에서 작업을 수행했기 때문에 앱이 활성화될 때 발생하는 활성화 이벤트에 대해 구현하는 이벤트 처리기에 전달됩니다.
버전 기록
| Windows 버전 | SDK 버전 | 추가된 값 |
|---|---|---|
| 1607 | 14393 | 사용자 |
속성
| Name | Description |
|---|---|
| Argument |
대화형 알림 메시지를 통해 앱이 활성화된 후 검색할 수 있는 인수를 가져옵니다. |
| CurrentlyShownApplicationViewId |
현재 표시된 앱 보기의 식별자를 가져옵니다. |
| Kind |
이 이벤트에 대한 앱 활성화 이유를 가져옵니다. |
| PreviousExecutionState |
사용자가 알림 메시지 본문을 탭하거나 알림 메시지 내에서 작업을 수행했기 때문에 앱이 활성화되기 전에 앱의 실행 상태를 가져옵니다. |
| SplashScreen |
시작 화면에서 활성화된 앱으로의 전환에 대한 정보를 제공하는 시작 화면 개체를 가져옵니다. |
| User |
앱이 활성화된 사용자를 가져옵니다. |
| UserInput |
대화형 알림 메시지에서 사용자 입력을 가져오는 데 사용할 수 있는 값 집합을 가져옵니다. |