IServiceEndpointNotificationService.Execute Method (EntityReference, IExecutionContext)
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Posts the execution context to the specified service endpoint in the cloud.
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Parameters
- serviceEndpoint
-
Type:
Microsoft.Xrm.Sdk.EntityReference
Type: EntityReference. The service endpoint to post to in the cloud.
- context
-
Type:
Microsoft.Xrm.Sdk.IExecutionContext
Type: IExecutionContext. The event execution context.
Return Value
Type: System.StringType: String
The result. Only a two-way or REST listener will return a string back to the caller.
If the post fails, the IServiceEndpointNotificationService will continue to attempt the post for a pre-defined length of time. After all attempts to post have failed, the related asynchronous operation (system job) will be set to an error status.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright