AppTaskContent.CreateSequenceOfSteps(String[], String) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
タスクの進行状況を示す一連のステップを表示するタスク コンテンツを作成します。
public:
static AppTaskContent ^ CreateSequenceOfSteps(Platform::Array <Platform::String ^> ^ completedSteps, Platform::String ^ executingStep);
/// [Windows.Foundation.Metadata.Experimental]
static AppTaskContent CreateSequenceOfSteps(winrt::array_view <winrt::hstring const&> const& completedSteps, winrt::hstring const& executingStep);
[Windows.Foundation.Metadata.Experimental]
public static AppTaskContent CreateSequenceOfSteps(string[] completedSteps, string executingStep);
function createSequenceOfSteps(completedSteps, executingStep)
Public Shared Function CreateSequenceOfSteps (completedSteps As String(), executingStep As String) As AppTaskContent
パラメーター
- completedSteps
-
String[]
Platform::String[]
winrt::hstring[]
既に完了しているステップを表す文字列の配列。
- executingStep
-
String
Platform::String
winrt::hstring
現在実行中のステップを表す文字列。
返品
ステップ バイ ステップの進行状況を表示する新しい AppTaskContent オブジェクト。
- 属性
注釈
Important
アプリ タスクのサポートは、2026 年 5 月から Windows 11 への段階的なロールアウトを開始します。
Windows.UI.Shell.Tasks API によって有効になるエクスペリエンスでは、対応するアプリ タスク機能が、アプリが実行されている Windows のバージョンに存在する必要があります。 それ以外の場合、これらの API は影響を受けなくなります。
このコンテンツ タイプは、AI エージェント ワークフローなどの一連の手順を処理するタスクに役立ちます。 タスクは、次に行われるステップを知る必要はありません。過去と現在の進行状況のみが表示されます。