IServiceEndpointNotificationService.Execute Method (EntityReference, IExecutionContext)


Posts the execution context to the specified service endpoint in the cloud.

Namespace:   Microsoft.Xrm.Sdk
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Function Execute (
	serviceEndpoint As EntityReference,
	context As IExecutionContext
) As String


Type: Microsoft.Xrm.Sdk.EntityReference

Type: EntityReference. The service endpoint to post to in the cloud.

Type: Microsoft.Xrm.Sdk.IExecutionContext

Type: IExecutionContext. The event execution context.

Return Value

Type: System.String

Type: 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.

Return to top

Microsoft Dynamics CRM 2016 and CRM Online

© 2016 Microsoft. All rights reserved. Copyright

Community Additions