Export (0) Print
Expand All

TimeoutMailCallback delegate

Called to generate the task e-mail body when the time allotted for the task has expired.

Namespace:  Microsoft.Office.Workflow
Assembly:  Microsoft.Office.Workflow.Tasks (in Microsoft.Office.Workflow.Tasks.dll)

[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public delegate bool TimeoutMailCallback(
	Guid taskId,
	SPWorkflowTaskProperties properties,
	out SPWeb web,
	out StringDictionary headers,
	out string body
)

Parameters

taskId
Type: System.Guid

The GUID of the workflow task.

properties
Type: Microsoft.SharePoint.Workflow.SPWorkflowTaskProperties

An SPWorkflowTaskProperties object that contains information about the workflow task.

web
Type: Microsoft.SharePoint.SPWeb

An SPWeb object that is the container for the workflow task.

headers
Type: System.Collections.Specialized.StringDictionary

A StringDictionary object that contains the e-mail header information.

body
Type: System.String

A string that contains the body of the e-mail message.

Return value

Type: System.Boolean
A Boolean value that indicates that the e-mail was generated and sent.
Show:
© 2015 Microsoft