Share via


ITwoWayServiceEndpointPlugin.Execute Method (RemoteExecutionContext)

 

Applies To: Dynamics CRM 2015

Executes plug-in code in response to an event.

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

Syntax

[OperationContractAttribute]
[FaultContractAttribute(typeof(ServiceEndpointFault))]
string Execute(
    RemoteExecutionContext executionContext
)
[OperationContractAttribute]
[FaultContractAttribute((ServiceEndpointFault^::typeid))]
String^ Execute(
    RemoteExecutionContext^ executionContext
)
[<OperationContractAttribute>]
[<FaultContractAttribute(typeof(ServiceEndpointFault))>]
abstract Execute : 
        executionContext:RemoteExecutionContext -> string
<OperationContractAttribute>
<FaultContractAttribute(GetType(ServiceEndpointFault))>
Function Execute (
    executionContext As RemoteExecutionContext
) As String

Parameters

Return Value

Type: System.String

Type: String
The response from the request.

Remarks

The return value is sent back to Microsoft Dynamics CRM over the service bus and received by the plug-in that initiated the original service bus post.

The execution context is posted on the Microsoft Azure Service Bus by Microsoft Dynamics CRM and made available to the listener in the execution context parameter.

See Also

ITwoWayServiceEndpointPlugin Interface
Microsoft.Xrm.Sdk Namespace
Azure integration with Microsoft Dynamics CRM

Return to top

© 2016 Microsoft. All rights reserved. Copyright