TaskItem.Respond method (Outlook)
Responds to a task request.
Syntax
expression. Respond
( _Response_
, _fNoUI_
, _fAdditionalTextDialog_
)
expression A variable that represents a TaskItem object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Response | Required | OlTaskResponse | The response to the request. |
fNoUI | Required | Variant | True to not display a dialog box; the response is sent automatically. False to display the dialog box for responding. |
fAdditionalTextDialog | Required | Variant | False to not prompt the user for input; the response is displayed in the inspector for editing. True to prompt the user to either send or send with comments. This argument is valid only if fNoUI is False. |
Return value
A TaskItem that represents the response to the task request.
Remarks
When you call the Respond method with the olTaskAccept parameter, Outlook creates a new TaskItem that duplicates the task request item. The new item has a different Entry ID. Outlook then removes the original item.
The following table describes the behavior of the Respond method depending on the parent object, and the fNoUI and fAdditionalTextDialog parameters.
fNoUI, fAdditionalTextDialog | Result |
---|---|
True, True | Response item is returned with no user interface. To send the response, you must call the Send method. |
True, False | Same result as with True, True. |
False, True | If the Display method has been called, the user prompt appears. Otherwise, the item is sent without prompting and the resulting item is nothing. |
False, False | Does nothing. |
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기