ISharePointService.SendEmail method

Sends an email message concerning the workflow.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Sub SendEmail ( _
    workflowId As Guid, _
    includeStatus As Boolean, _
    headers As StringDictionary, _
    body As String _
)
'Usage
Dim instance As ISharePointService
Dim workflowId As Guid
Dim includeStatus As Boolean
Dim headers As StringDictionary
Dim body As String

instance.SendEmail(workflowId, includeStatus, _
    headers, body)
void SendEmail(
    Guid workflowId,
    bool includeStatus,
    StringDictionary headers,
    string body
)

Parameters

  • workflowId
    Type: System.Guid

    The ID of the workflow instance.

  • includeStatus
    Type: System.Boolean

    True to include the workflow status in the email, False not to include the workflow status.

Remarks

This method is used by the SendEmail class of the Microsoft.SharePoint.WorkflowActions namespace.

See also

Reference

ISharePointService interface

ISharePointService members

Microsoft.SharePoint.Workflow namespace