Compartir a través de


IWebHttpServiceEndpointPlugin.Execute Method (RemoteExecutionContext)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Executes plug-in code in response to an event.

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

Syntax

[FaultContractAttribute(typeof(ServiceEndpointFault))]
[OperationContractAttribute]
[WebInvokeAttribute(Method = "POST")]
string Execute(
    RemoteExecutionContext executionContext
)
<FaultContractAttribute(GetType(ServiceEndpointFault))>
<OperationContractAttribute>
<WebInvokeAttribute(Method := "POST")>
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 365 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 365 and made available to the listener in the execution context parameter.

See Also

IWebHttpServiceEndpointPlugin Interface
Microsoft.Xrm.Sdk Namespace
Azure integration with Microsoft Dynamics 365

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright