IOrganizationServiceCache.Execute<T> Method (OrganizationRequest, Func<OrganizationRequest, OrganizationResponse>, Func<OrganizationResponse, T>, String)
Applies To: Dynamics CRM 2015
Executes a request.
Namespace: Microsoft.Xrm.Client.Services
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
T Execute<T>(
OrganizationRequest request,
Func<OrganizationRequest, OrganizationResponse> execute,
Func<OrganizationResponse, T> selector,
string selectorCacheKey
)
generic<typename T>
T Execute(
OrganizationRequest^ request,
Func<OrganizationRequest^, OrganizationResponse^>^ execute,
Func<OrganizationResponse^, T>^ selector,
String^ selectorCacheKey
)
abstract Execute<'T> :
request:OrganizationRequest *
execute:Func<OrganizationRequest, OrganizationResponse> *
selector:Func<OrganizationResponse, 'T> *
selectorCacheKey:string -> 'T
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
request
Type: Microsoft.Xrm.Sdk.OrganizationRequestType: OrganizationRequest. The request object.
- execute
Type: System.Func<OrganizationRequest, OrganizationResponse>
- selector
Type: System.Func<OrganizationResponse, T>
- selectorCacheKey
Type: System.String
Return Value
Type: T
Type: {0}.
Type Parameters
- T
The type.
See Also
IOrganizationServiceCache Interface
Microsoft.Xrm.Client.Services Namespace
Developer extensions for Microsoft Dynamics CRM 2015
Return to top
© 2017 Microsoft. All rights reserved. Copyright