Condividi tramite


Metodo OrganizationServiceProxy.Execute

Si applica a: CRM 2015 on-prem, CRM Online

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

Spazio dei nomi: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Sintassi

'Dichiarazione
Public Function Execute ( _
    request As OrganizationRequest _
) As OrganizationResponse
public OrganizationResponse Execute (
    OrganizationRequest request
)

Parametri

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

Valore restituito

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

Note

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.

Thread Safety

Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. Non è garantito che i membri di istanza siano thread-safe.

Piattaforme

Piattaforme di sviluppo

Windows Vista, Windows Server 2003 e

Piattaforme di destinazione

Windows Vista,Windows XP

Vedere anche

Riferimento

Classe OrganizationServiceProxy
Membri OrganizationServiceProxy
Spazio dei nomi Microsoft.Xrm.Sdk.Client

Altre risorse

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.