OrganizationServiceContextExtensions.Execute<TResponse> Method (OrganizationServiceContext, OrganizationRequest)
Applies To: Dynamics CRM 2015
Namespace: Microsoft.Xrm.Client
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static TResponse Execute<TResponse>(
this OrganizationServiceContext context,
OrganizationRequest request
)
where TResponse : OrganizationResponse
public:
generic<typename TResponse>
where TResponse : OrganizationResponse
[ExtensionAttribute]
static TResponse Execute(
OrganizationServiceContext^ context,
OrganizationRequest^ request
)
static member Execute<'TResponse when 'TResponse : OrganizationResponse> :
context:OrganizationServiceContext *
request:OrganizationRequest -> 'TResponse
<ExtensionAttribute>
Public Shared Function Execute(Of TResponse As OrganizationResponse) (
context As OrganizationServiceContext,
request As OrganizationRequest
) As TResponse
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextType: OrganizationServiceContext. The service context.
request
Type: Microsoft.Xrm.Sdk.OrganizationRequestType: OrganizationRequest. The request instance to execute.
Return Value
Type: TResponse
Type: OrganizationResponse
.
Type Parameters
- TResponse
The organization response.
Remarks
This is an extension to the core Execute method.
See Also
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client Namespace
Developer extensions for Microsoft Dynamics CRM 2015
Developer extensions context object model (Dynamics CRM 2015)
Return to top
© 2017 Microsoft. All rights reserved. Copyright