Câu 102: Certified Platform Developer II
A developer is working on code that requires a call to an external web service from a batch. How should the developer enable this functionality?
Nội dung câu hỏi
A developer is working on code that requires a call to an external web service from a batch. How should the developer enable this functionality?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Implement a custom System.CalloutException class
- B. Include Database.AllowCallout() in the class definition — đáp án hiện tại
- C. Implement an @future method for the callout, and invoke it from the batch
- D. Specify "callout=true" in the batch implementation
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.