IServiceEndpointNotificationService.Execute Method

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

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)

Syntax

'Declaration
Function Execute ( _
    serviceEndpoint As EntityReference, _
    context As IExecutionContext _
) As String
string Execute (
    EntityReference serviceEndpoint,
    IExecutionContext context
)

Parameters

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

Return Value

Type: String
The result. Only a two-way or REST listener will return a string back to the caller.

Remarks

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.

Thread Safety

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

Platforms

Development Platforms

Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)

Target Platforms

Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),

See Also

Reference

IServiceEndpointNotificationService Interface
IServiceEndpointNotificationService Members
Microsoft.Xrm.Sdk Namespace
IPluginExecutionContext Interface
Management and Notification of Run-time Errors
Write a One-way, Two-way, or REST Listener

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