共用方式為


SendEmail Class

Defines a workflow activity that is used to create and send an email message to the specified users.

Inheritance Hierarchy

System.Object
  System.Workflow.ComponentModel.DependencyObject
    System.Workflow.ComponentModel.Activity
      System.Workflow.Activities.CallExternalMethodActivity
        Microsoft.SharePoint.WorkflowActions.SendEmail

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

Syntax

'Declaration
<ToolboxBitmapAttribute(GetType(SendEmail), "Resources.SendEmail.bmp")> _
<ActivityToolboxDisplayAttribute("VSTTSharePointWorkflow", True)> _
Public NotInheritable Class SendEmail _
    Inherits CallExternalMethodActivity
'Usage
Dim instance As SendEmail
[ToolboxBitmapAttribute(typeof(SendEmail), "Resources.SendEmail.bmp")]
[ActivityToolboxDisplayAttribute("VSTTSharePointWorkflow", true)]
public sealed class SendEmail : CallExternalMethodActivity

Remarks

This activity implements the ISharePointService.SendEmail method.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SendEmail Members

Microsoft.SharePoint.WorkflowActions Namespace

Other Resources

Workflow Activities for SharePoint Foundation

How SharePoint Foundation Processes Workflow Activities