콘텐츠로 이동
무료 평가 시작

pdcomm::cancelFormattedProgramExecution

함수

진행 중인 실행의 취소를 취소 동작으로 요청합니다.

inline GemFormattedProgramExecutionAction cancelFormattedProgramExecution(GemEquipment &endpoint, const GemFormattedProgramExecutionToken &token)

선언 위치: #include <pdcomm_gem_formatted_program_executions.hpp>

상태가 ..._CANCEL_PENDING이 됩니다. 취소가 대기 중일 때 다시 호출하면 같은 취소 동작을 반환합니다.

매개변수

이름설명
endpoint실행을 수행하는 장비 끝점(endpoint)입니다.
token실행의 토큰입니다.

반환값

취소 동작입니다.

참고

  • 예외 pdcomm::Error: 실행이 진행 중이 아니면 PDCOMM_INVALID_STATE, 만료된 토큰이면 PDCOMM_STALE_TOKEN입니다.