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.
  • 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.

See Also

Reference

Microsoft.Office.Workflow Namespace