OrganizationServiceContextExtensions.CheckPromoteEmail<TResponse> Method (OrganizationServiceContext, String, String)


Applies To: Dynamics CRM 2015

Checks whether the incoming email message should be promoted to the Microsoft Dynamics CRM system. (Developer Extensions)

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


public static TResponse CheckPromoteEmail<TResponse>(
    this OrganizationServiceContext context,
    string messageId,
    string subject
where TResponse : OrganizationResponse
generic<typename TResponse>
where TResponse : OrganizationResponse
static TResponse CheckPromoteEmail(
    OrganizationServiceContext^ context,
    String^ messageId,
    String^ subject
static member CheckPromoteEmail<'TResponse when 'TResponse : OrganizationResponse> : 
        context:OrganizationServiceContext *
        messageId:string *
        subject:string -> 'TResponse
Public Shared Function CheckPromoteEmail(Of TResponse As OrganizationResponse) (
    context As OrganizationServiceContext,
    messageId As String,
    subject As String
) As TResponse


  • messageId
    Type: System.String

    The message ID that is contained in the email header. Required.

  • subject
    Type: System.String

    The subject of the message. Optional.

Return Value

Type: TResponse

Returns Int64.

Type Parameters

  • TResponse


This is a method wrapper for the CheckPromoteEmailRequest and CheckPromoteEmailResponse 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