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)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Delegate Function TimeoutMailCallback ( _
taskId As Guid, _
properties As SPWorkflowTaskProperties, _
<OutAttribute> ByRef web As SPWeb, _
<OutAttribute> ByRef headers As StringDictionary, _
<OutAttribute> ByRef body As String _
) As Boolean
'Usage
Dim instance As New TimeoutMailCallback(AddressOf HandlerMethod)
[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.