CommandLineActivationOperation 클래스

정의

제공된 인수 및 현재 디렉터리 경로와 같은 앱 활성화에 대한 정보를 제공합니다.

public ref class CommandLineActivationOperation sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class CommandLineActivationOperation final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class CommandLineActivationOperation
Public NotInheritable Class CommandLineActivationOperation
상속
Object Platform::Object IInspectable CommandLineActivationOperation
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 Fall Creators Update (10.0.16299.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v5.0에서 도입되었습니다.)

설명

앱은 호출자에게 다시 전달되는 종료 코드를 제공합니다.

속성

Arguments

앱이 활성화되었을 때 앱에 전달된 명령줄 인수를 가져옵니다.

CurrentDirectoryPath

명령줄에서 앱이 활성화된 디렉터리 경로를 가져옵니다.

ExitCode

명령줄에서 시작된 앱의 종료 코드를 설정합니다.

메서드

GetDeferral()

이 작업에 대한 지연 개체를 가져옵니다.

적용 대상