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

# Suspend

> IXtfApplicationClient::Suspend

# IXtfApplicationClient::Suspend

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

## 구문

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

### 매개 변수

*pszPackageMoniker*\
형식: LPCWSTR

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

*fAsDebugger*\
형식: BOOL

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

### 반환 값

형식: HRESULT

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

## 설명

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

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

## 요구 사항

**헤더:** xtfapplication.h

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

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

## 함께 보기

[IXtfApplicationClient](https://docs.xbox.com/ko/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/ixtfapplicationclient-xtfapplication-xbox-microsoft-t.md)\
[XtfApplication](https://docs.xbox.com/ko/reference/tools/xtf/xtfapplication/xtfapplication-xbox-microsoft-n.md)


## Related topics

- [xcurl_global_suspend](https://docs.xbox.com/ko/reference/networking/xcurl/functions/xcurl_global_suspend.md)
- [PlayFabMultiplayerManager.Get().Suspend](https://docs.xbox.com/ko/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunitysuspend.md)
- [XBOX Gaming Project Control](https://docs.xbox.com/ko/tools/tools-console/visualstudio/xbox-gaming-project-control.md)
- [가장 많이 실패하는 테스트 사례](https://docs.xbox.com/ko/publishing/certification/xr-top-failing.md)
- [Visual Studio를 사용한 XBOX 프로젝트 디버깅](https://docs.xbox.com/ko/tools/tools-console/visualstudio/debugging-with-visualstudio.md)
