Поделиться через


SendEmailFromTemplate Class

 

Applies To: Dynamics CRM 2015

Sends an e-mail message to a recipient using an e-mail template.

Namespace:   Microsoft.Xrm.Sdk.Workflow.Activities
Assembly:  Microsoft.Xrm.Sdk.Workflow (in Microsoft.Xrm.Sdk.Workflow.dll)

Inheritance Hierarchy

System.Object
  System.Activities.Activity
    System.Activities.CodeActivity
      Microsoft.Xrm.Sdk.Workflow.Activities.SendEmailFromTemplate

Syntax

public sealed class SendEmailFromTemplate : CodeActivity
public ref class SendEmailFromTemplate sealed : CodeActivity
[<Sealed>]
type SendEmailFromTemplate = 
    class
        inherit CodeActivity
    end
Public NotInheritable Class SendEmailFromTemplate
    Inherits CodeActivity

Constructors

Name Description
System_CAPS_pubmethod SendEmailFromTemplate()

Initializes a new instance of theSendEmailFromTemplate class.

Properties

Name Description
System_CAPS_protproperty CacheId

(Inherited from Activity.)

System_CAPS_pubproperty DisplayName

(Inherited from Activity.)

System_CAPS_pubproperty Entity

Gets or sets the e-mail record.

System_CAPS_pubproperty EntityId

Gets or sets the ID of the resulting e-mail.

System_CAPS_pubproperty Id

(Inherited from Activity.)

System_CAPS_protproperty ImplementationVersion

(Inherited from CodeActivity.)

System_CAPS_pubproperty RegardingId

Gets or sets the ID of the entity record with which the e-mail message is associated.

System_CAPS_pubproperty RegardingType

Gets or sets the logical entity name of the entity represented by the RegardingdId property.

System_CAPS_pubproperty TemplateId

Gets or sets the ID of the e-mail template to use.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Activity.)

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

Microsoft.Xrm.Sdk.Workflow.Activities Namespace
Custom XAML workflows

Return to top

© 2016 Microsoft. All rights reserved. Copyright