TaskOutcome
ผลลัพธ์ของการพยายามเรียกใช้งาน เมื่อปิด TaskState
แล้ว TaskOutcome
จะระบุว่าเสร็จสมบูรณ์หรือไม่
Enum |
TASK_OUTCOME_UNSPECIFIED |
ผลลัพธ์ของงานก่อนที่จะตั้งค่า |
SUCCEEDED |
งานเสร็จเรียบร้อยแล้ว |
FAILED |
เพราะอาจทำงานไม่สำเร็จหรืองานถูกยกเลิก |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-07-24 UTC
[null,null,["อัปเดตล่าสุด 2024-07-24 UTC"],[[["`TaskOutcome` shows the result of a Task execution attempt, mainly focusing on success or failure when the Task is closed."],["The enum provides three states: `TASK_OUTCOME_UNSPECIFIED` for an initial unset state, `SUCCEEDED` for successful completion, and `FAILED` for either incompletion or cancellation of the task."]]],["`TaskOutcome` details the result of a Task execution once its state is closed. Possible outcomes include `TASK_OUTCOME_UNSPECIFIED`, representing the initial state before a result is set. `SUCCEEDED` indicates a successful completion, while `FAILED` signifies that the Task could not be completed or was cancelled. These values are crucial for understanding if a given Task was successfully finished or not.\n"]]