OrganizationServiceContext.OnExecute Method (OrganizationRequest, OrganizationResponse)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Virtual (Overridable) method called after Execute is called and before a response is returned.
Namespace: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
protected virtual void OnExecute(
OrganizationRequest request,
OrganizationResponse response
)
Protected Overridable Sub OnExecute (
request As OrganizationRequest,
response As OrganizationResponse
)
Parameters
request
Type: Microsoft.Xrm.Sdk.OrganizationRequestType: OrganizationRequest. The request being processed.
response
Type: Microsoft.Xrm.Sdk.OrganizationResponseType: OrganizationResponse. The response that is to be returned from processing the request.
Remarks
See Also
OnExecute Overload
OrganizationServiceContext Class
Microsoft.Xrm.Sdk.Client Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright