Partager via


TaskRequestItem Interface

Represents a change to the recipient's Tasks list initiated by another party or as a result of a group tasking.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<CoClassAttribute(GetType(TaskRequestItemClass))> _
<GuidAttribute("00063036-0000-0000-C000-000000000046")> _
Public Interface TaskRequestItem _
    Inherits _TaskRequestItem, ItemEvents_10_Event
'Usage
Dim instance As TaskRequestItem
[CoClassAttribute(typeof(TaskRequestItemClass))]
[GuidAttribute("00063036-0000-0000-C000-000000000046")]
public interface TaskRequestItem : _TaskRequestItem, 
    ItemEvents_10_Event

Remarks

This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _TaskRequestItem. For information about the event members of the COM object, see TaskRequestItemClass.

Unlike other Microsoft Outlook objects, you cannot create this object. When the sender applies the Assign and Send methods to a TaskItem object to assign (delegate) the associated task to another user, the TaskRequestItem object is created when the item is received in the recipient's Inbox.

Use the GetAssociatedTask method to return the TaskItem object, and work directly with the TaskItem object to respond to the request.

See Also

Reference

TaskRequestItem Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Display the Task Request Items Sent to a Recipient

How to: Respond to a Task Request Item