Compartir a través de


OrganizationServiceCache.Execute<T> Method (OrganizationRequest, Func<OrganizationRequest, OrganizationResponse>, Func<OrganizationResponse, T>, String)

 

Applies To: Dynamics CRM 2015

Executes an organization service message. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Services
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public T Execute<T>(
    OrganizationRequest request,
    Func<OrganizationRequest, OrganizationResponse> execute,
    Func<OrganizationResponse, T> selector,
    string selectorCacheKey
)
public:
generic<typename T>
virtual T Execute(
    OrganizationRequest^ request,
    Func<OrganizationRequest^, OrganizationResponse^>^ execute,
    Func<OrganizationResponse^, T>^ selector,
    String^ selectorCacheKey
) sealed
abstract Execute<'T> : 
        request:OrganizationRequest *
        execute:Func<OrganizationRequest, OrganizationResponse> *
        selector:Func<OrganizationResponse, 'T> *
        selectorCacheKey:string -> 'T
override Execute<'T> : 
        request:OrganizationRequest *
        execute:Func<OrganizationRequest, OrganizationResponse> *
        selector:Func<OrganizationResponse, 'T> *
        selectorCacheKey:string -> 'T
Public Function Execute(Of T) (
    request As OrganizationRequest,
    execute As Func(Of OrganizationRequest, OrganizationResponse),
    selector As Func(Of OrganizationResponse, T),
    selectorCacheKey As String
) As T

Parameters

Return Value

Type: T

Type: {0}.

Type Parameters

  • T

Remarks

This is a wrapper around the core OrganizationServiceProxy. Execute method.

See Also

OrganizationServiceCache Class
Microsoft.Xrm.Client.Services Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright