Any suggestions? Export (0) Print
Expand All

IServiceEndpointNotificationService.Execute Method

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: EntityReference. The service endpoint to post to in the cloud.


Type: IExecutionContext. The event execution context.

Return Value

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



Windows Server 2008,Windows Server 2012,Windows 7

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.

Community Additions

© 2016 Microsoft