Share via


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

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 table and access rights on the records returned from the query. The caller must have these privileges on the email table: prvReadActivity and prvWriteActivity.

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 the request. 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