ITwoWayServiceEndpointPlugin.Execute Method
Applies To: Microsoft Dynamics CRM 2013, Microsoft 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
'Declaration
<OperationContractAttribute> _
<FaultContractAttribute(GetType(ServiceEndpointFault))> _
Function Execute ( _
executionContext As RemoteExecutionContext _
) As String
[OperationContractAttribute]
[FaultContractAttribute(typeof(ServiceEndpointFault))]
string Execute (
RemoteExecutionContext executionContext
)
Parameters
- executionContext
Type: RemoteExecutionContext. Defines the contextual information passed to a plug-in at run-time.
Return Value
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.
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
ITwoWayServiceEndpointPlugin Interface
ITwoWayServiceEndpointPlugin Members
Microsoft.Xrm.Sdk Namespace
Other Resources
Introduction to Windows Azure Integration with Microsoft Dynamics CRM
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.