BackgroundSendEmailRequest Class

Definition

Contains the data that is needed to send email messages asynchronously.

public ref class BackgroundSendEmailRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class BackgroundSendEmailRequest : Microsoft.Xrm.Sdk.OrganizationRequest
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")>]
type BackgroundSendEmailRequest = class
    inherit OrganizationRequest
Public NotInheritable Class BackgroundSendEmailRequest
Inherits OrganizationRequest
Inheritance
BackgroundSendEmailRequest
Attributes

Remarks

Message Availability

This message works regardless whether the caller is connected to the server or offline.

Usage

Pass an instance of this class to the Execute(OrganizationRequest) method, which returns an instance of BackgroundSendEmailResponse.

Privileges and Access Rights

To perform this action, the caller must have privileges on the email entity and access rights on the records returned from the query. For a complete list of the privileges required, see BackgroundSendEmail message privileges.

Constructors

BackgroundSendEmailRequest()

Initializes a new instance of the BackgroundSendEmailRequest class.

Properties

ExtensionData

Gets or sets the structure that contains extra data. Optional.

(Inherited from OrganizationRequest)
Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
Parameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
Query

Gets or sets the query to find the email activities to send.

RequestId

Gets or sets the ID of an asynchronous operation (system job). Optional.

(Inherited from OrganizationRequest)
RequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)

Applies to

See also