次の方法で共有


ITwoWayServiceEndpointPlugin.Execute(RemoteExecutionContext) Method

Definition

Executes plug-in code in response to an event.

public:
 System::String ^ Execute(Microsoft::Xrm::Sdk::RemoteExecutionContext ^ executionContext);
[System.ServiceModel.FaultContract(typeof(Microsoft.Xrm.Sdk.ServiceEndpointFault))]
[System.ServiceModel.OperationContract]
public string Execute (Microsoft.Xrm.Sdk.RemoteExecutionContext executionContext);
[<System.ServiceModel.FaultContract(typeof(Microsoft.Xrm.Sdk.ServiceEndpointFault))>]
[<System.ServiceModel.OperationContract>]
abstract member Execute : Microsoft.Xrm.Sdk.RemoteExecutionContext -> string
Public Function Execute (executionContext As RemoteExecutionContext) As String

Parameters

executionContext
RemoteExecutionContext

Defines the contextual information passed to a plug-in at run-time.

Returns

The response from the request.

Attributes

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.

Applies to