OrganizationServiceContextExtensions.BackgroundSendEmail<TResponse> Method (OrganizationServiceContext, QueryBase)
Applies To: Dynamics CRM 2015
Sends an email asynchronously. (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static TResponse BackgroundSendEmail<TResponse>(
this OrganizationServiceContext context,
QueryBase query
)
where TResponse : OrganizationResponse
public:
generic<typename TResponse>
where TResponse : OrganizationResponse
[ExtensionAttribute]
static TResponse BackgroundSendEmail(
OrganizationServiceContext^ context,
QueryBase^ query
)
static member BackgroundSendEmail<'TResponse when 'TResponse : OrganizationResponse> :
context:OrganizationServiceContext *
query:QueryBase -> 'TResponse
<ExtensionAttribute>
Public Shared Function BackgroundSendEmail(Of TResponse As OrganizationResponse) (
context As OrganizationServiceContext,
query As QueryBase
) As TResponse
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
query
Type: Microsoft.Xrm.Sdk.Query.QueryBaseThe query to find the email activities to send.
Return Value
Type: TResponse
Returns Guid.
Type Parameters
- TResponse
Remarks
This is a method wrapper for the BackgroundSendEmailRequest and BackgroundSendEmailResponse 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