Partilhar via


OrganizationServiceContext.OnExecute Method (OrganizationRequest, Exception)

 

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 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 Overridable Sub OnExecute (
    request As OrganizationRequest,
    exception As Exception
)

Parameters

Remarks

Execute is called by Execute.

See Also

OnExecute Overload
OrganizationServiceContext Class
Microsoft.Xrm.Sdk.Client Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright