> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IXtfApplicationClient::Suspend

> IXtfApplicationClient::Suspend

# IXtfApplicationClient::Suspend

지정된 패키지 모니커를 가진 앱의 실행을 일시 중단합니다.

<a id="syntaxSection" />

## 구문

```cpp theme={null}
public:
HRESULT Suspend(
         LPCWSTR pszPackageMoniker,
         BOOL fAsDebugger
)  
```

<a id="parametersSection" />

### 매개 변수

*pszPackageMoniker*<br />형식: LPCWSTR

일시 중단할 앱의 패키지 모니커에 대한 포인터입니다.

*fAsDebugger*<br />형식: BOOL

디버깅을 활성화한 상태에서 앱을 일시 중단하려면 TRUE를 지정합니다. 디버깅을 비활성화하려면 FALSE를 지정합니다. 디버깅 활성화 또는 비활성화의 영향에 대한 자세한 내용은 [DebugEnable](/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/methods/debugenable-ixtfapplicationclient-xtfapplication-xbox-microsoft-m)을 참조하세요.

<a id="retvalSection" />

### 반환 값

형식: HRESULT

성공하면 `S_OK`를 반환하고, 그렇지 않으면 HRESULT 오류 코드를 반환합니다.

<a id="remarksSection" />

## 설명

이 메서드는 지정된 패키지 모니커를 가진 앱의 실행을 일시 중단합니다. 이 메서드는 XBOX Tools Framework(XTF)의 일부로 포함된 애플리케이션 관리(xbapp.exe) 도구의 `xbapp suspend` 명령과 유사합니다. `xbapp suspend` 명령에 대한 자세한 내용은 [애플리케이션 관리(xbapp.exe)(NDA 항목)](/tools/tools-console/commandlinetools/xbapp)를 참조하세요.

[IXtfApplicationClient::Resume](/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/methods/resume-ixtfapplicationclient-xtfapplication-xbox-microsoft-m) 메서드를 호출하거나 애플리케이션 관리 도구의 `xbapp resume` 명령을 호출하여 앱 실행을 재개할 수 있습니다. 게임 수명 주기 상태에 대한 자세한 내용은 [XBOX 게임 수명 주기(NDA 항목)](/build/console-features/console-workflows/xbox-game-life-cycle)를 참조하세요.

<a id="requirementsSection" />

## 요구 사항

**헤더:** xtfapplication.h

**라이브러리:** xtfapplication.lib

**지원 플랫폼:** Windows(XBOX 콘솔 도구용)

<a id="seealsoSection" />

## 함께 보기

[IXtfApplicationClient](/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/ixtfapplicationclient-xtfapplication-xbox-microsoft-t)<br />[XtfApplication](/reference/tools/xtf/xtfapplication/xtfapplication-xbox-microsoft-n)


## Related topics

- [IXtfApplicationClient::Resume](/ko/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/methods/resume-ixtfapplicationclient-xtfapplication-xbox-microsoft-m.md)
- [IXtfApplicationClient::DebugEnable](/ko/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/methods/debugenable-ixtfapplicationclient-xtfapplication-xbox-microsoft-m.md)
- [IXtfApplicationClient::Constrain](/ko/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/methods/constrain-ixtfapplicationclient-xtfapplication-xbox-windows-m.md)
- [IXtfApplicationClient::Snap](/ko/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/methods/snap-ixtfapplicationclient-xtfapplication-xbox-windows-m.md)
- [IXtfApplicationClient::Terminate](/ko/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/methods/terminate-ixtfapplicationclient-xtfapplication-xbox-microsoft-m.md)
