Dela via


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

Remarks

Execute is called by Execute.

See Also

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

Return to top

© 2016 Microsoft. All rights reserved. Copyright