OrganizationWebProxyClient.Execute Method (OrganizationRequest)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Executes a message in the form of a request, and returns a response.
Namespace: Microsoft.Xrm.Sdk.WebServiceClient
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
public OrganizationResponse Execute(
OrganizationRequest request
)
Public Function Execute (
request As OrganizationRequest
) As OrganizationResponse
Parameters
request
Type: Microsoft.Xrm.Sdk.OrganizationRequestType: OrganizationRequest. An instance of a request class that defines the action to be performed.
Return Value
Type: Microsoft.Xrm.Sdk.OrganizationResponse
Type: OrganizationResponse.
You must cast the return value of this method to the specific instance of the response that corresponds to the Request parameter.
Implements
IOrganizationService.Execute(OrganizationRequest)
Remarks
The core implementation of the Execute method. For more information, see IOrganizationService.Execute.
For more information about the exceptions that can be thrown when calling OrganizationServiceProxy methods, see Handle exceptions in your code.
See Also
OrganizationWebProxyClient Class
Microsoft.Xrm.Sdk.WebServiceClient Namespace
Troubleshooting and error handling
Use the Organization Service to read and write data or metadata
Use messages (request and response classes) with the Execute method
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright