Compartir a través de


Método OrganizationServiceProxy.Execute

Se aplica a: CRM 2015 on-prem, CRM Online

Executes a message in the form of a request, and returns a response.

Espacio de nombres: Microsoft.Xrm.Sdk.Client
Ensamblado: Microsoft.Xrm.Sdk (en Microsoft.Xrm.Sdk.dll)

Sintaxis

'Declaración
Public Function Execute ( _
    request As OrganizationRequest _
) As OrganizationResponse
public OrganizationResponse Execute (
    OrganizationRequest request
)

Parámetros

  • request
    Type: OrganizationRequest. An instance of a request class that defines the action to be performed.

Valor de retorno

Type: OrganizationResponse.
You must cast the return value of this method to the specific instance of the response that corresponds to the Request parameter.

Comentarios

The core implementation of the Execute method. For more information, see IOrganizationService.Execute.

For more information about the exceptions that can be thrown when calling OrganizationServiceProxy methods, see Handle Exceptions in Your Code.

Seguridad de hilo

Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para el hilo. No se garantiza que los miembros de instancia sean seguros para el hilo.

Plataformas

Plataformas de desarrollo

Windows Vista, Windows Server 2003 y

Plataformas de destino

Windows Vista,Windows XP

Vea también

Referencia

Clase de OrganizationServiceProxy
Miembros de OrganizationServiceProxy
Espacio de nombres de Microsoft.Xrm.Sdk.Client

Otros recursos

Troubleshooting and Error Handling
Read and Write Data and Metadata using the IOrganizationService Web Service
Use Messages (Request and Response Classes) with the Execute Method

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.