AppTaskInfo.Create(String, String, Uri, Uri, AppTaskContent) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 매개 변수를 사용하여 새 앱 작업을 만듭니다.
public:
static AppTaskInfo ^ Create(Platform::String ^ title, Platform::String ^ subtitle, Uri ^ deepLink, Uri ^ iconUri, AppTaskContent ^ content);
/// [Windows.Foundation.Metadata.Experimental]
static AppTaskInfo Create(winrt::hstring const& title, winrt::hstring const& subtitle, Uri const& deepLink, Uri const& iconUri, AppTaskContent const& content);
[Windows.Foundation.Metadata.Experimental]
public static AppTaskInfo Create(string title, string subtitle, System.Uri deepLink, System.Uri iconUri, AppTaskContent content);
function create(title, subtitle, deepLink, iconUri, content)
Public Shared Function Create (title As String, subtitle As String, deepLink As Uri, iconUri As Uri, content As AppTaskContent) As AppTaskInfo
매개 변수
- title
-
String
Platform::String
winrt::hstring
작업의 제목입니다. 이 값은 필수이며 관련 작업을 그룹화하는 데 사용됩니다.
- subtitle
-
String
Platform::String
winrt::hstring
추가 컨텍스트를 제공하는 작업에 대한 선택적 부제입니다. 빈 문자열일 수 있습니다.
- content
- AppTaskContent
AppTaskContent 팩터리 메서드 중 하나를 사용하여 만든 이 작업에 대해 표시할 초기 콘텐츠입니다.
반품
작업을 나타내는 새 AppTaskInfo 개체입니다.
- 특성
설명
Important
앱 작업 지원은 2026년 5월부터 점진적으로 Windows 11로 롤아웃됩니다. API에서 Windows.UI.Shell.Tasks 사용하도록 설정된 환경을 사용하려면 해당 앱 작업 기능이 앱이 실행되는 Windows 버전에 있어야 합니다. 그렇지 않으면 이러한 API는 아무런 영향을 주지 않습니다.
제목이 필요합니다. 타이틀이 제공되지 않으면 이 메서드는 예외를 throw합니다.