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)
Syntax
public static TResponse CheckPromoteEmail<TResponse>(
this OrganizationServiceContext context,
string messageId,
string subject
)
where TResponse : OrganizationResponse
public:
generic<typename TResponse>
where TResponse : OrganizationResponse
[ExtensionAttribute]
static TResponse CheckPromoteEmail(
OrganizationServiceContext^ context,
String^ messageId,
String^ subject
)
static member CheckPromoteEmail<'TResponse when 'TResponse : OrganizationResponse> :
context:OrganizationServiceContext *
messageId:string *
subject:string -> 'TResponse
<ExtensionAttribute>
Public Shared Function CheckPromoteEmail(Of TResponse As OrganizationResponse) (
context As OrganizationServiceContext,
messageId As String,
subject As String
) As TResponse
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
messageId
Type: System.StringThe message ID that is contained in the email header. Required.
subject
Type: System.StringThe subject of the message. Optional.
Return Value
Type: TResponse
Returns Int64.
Type Parameters
- TResponse
Remarks
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