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


OrganizationServiceContextExtensions.SendEmailFromTemplate Method (OrganizationServiceContext, Guid, String, Guid, Entity)

 

Applies To: Dynamics CRM 2015

Sends an email message using a template. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Messages
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static Guid SendEmailFromTemplate(
    this OrganizationServiceContext context,
    Guid templateId,
    string regardingType,
    Guid regardingId,
    Entity target
)
public:
[ExtensionAttribute]
static Guid SendEmailFromTemplate(
    OrganizationServiceContext^ context,
    Guid templateId,
    String^ regardingType,
    Guid regardingId,
    Entity^ target
)
static member SendEmailFromTemplate : 
        context:OrganizationServiceContext *
        templateId:Guid *
        regardingType:string *
        regardingId:Guid *
        target:Entity -> Guid
<ExtensionAttribute>
Public Shared Function SendEmailFromTemplate (
    context As OrganizationServiceContext,
    templateId As Guid,
    regardingType As String,
    regardingId As Guid,
    target As Entity
) As Guid

Parameters

Return Value

Type: System.Guid

Returns Guid.

Remarks

This is a method wrapper for the SendEmailFromTemplateRequest and SendEmailFromTemplateResponse classes. See the documentation in the Request class for more information about this message.

See Also

OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright