OrganizationServiceContext.OnExecute Method (OrganizationRequest, Exception)
Applies To: Dynamics CRM 2015
Virtual (Overridable) method called after Execute is called and before an exception is re-thrown.
Namespace: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
protected virtual void OnExecute(
OrganizationRequest request,
Exception exception
)
protected:
virtual void OnExecute(
OrganizationRequest^ request,
Exception^ exception
)
abstract OnExecute :
request:OrganizationRequest *
exception:Exception -> unit
override OnExecute :
request:OrganizationRequest *
exception:Exception -> unit
Protected Overridable Sub OnExecute (
request As OrganizationRequest,
exception As Exception
)
Parameters
request
Type: Microsoft.Xrm.Sdk.OrganizationRequestType: OrganizationRequest. The request being processed.
exception
Type: System.ExceptionType: Exception. The exception thrown from processing the request.
Remarks
See Also
OnExecute Overload
OrganizationServiceContext Class
Microsoft.Xrm.Sdk.Client Namespace
Return to top
© 2016 Microsoft. All rights reserved. Copyright