ToastActivatedEventArgs クラス

定義

ユーザーによって開始されたトースト アクションに関連付けられている引数を取得するメソッドを公開します。 これにより、アプリは、複数のアクションが公開されたときに実行されたアクションを確認できます。

public ref class ToastActivatedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class ToastActivatedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class ToastActivatedEventArgs
Public NotInheritable Class ToastActivatedEventArgs
継承
Object Platform::Object IInspectable ToastActivatedEventArgs
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

注釈

このオブジェクトは、 ToastNotification.Activated イベントが発生したときにイベント ハンドラーに提供されます。

バージョン履歴

Windows のバージョン SDK バージョン 追加された値
1903 18362 UserInput

プロパティ

Arguments

ユーザーによって開始されるトースト アクションに関連付けられている引数を取得します。 この引数文字列は、トーストの XML ペイロードに含まれていました。

UserInput

ユーザー入力のテキスト ボックスを含むトースト通知の場合は、ユーザー入力が含まれます。

適用対象