Freigeben über


OrganizationServiceProxy.Execute Methode

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

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

Syntax

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

Parameter

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

Rückgabewert

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

Anmerkungen

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-Sicherheit

Alle öffentlichen statischen Mitglieder (Shared in Visual Basic) dieses Typs sind thread-sicher. Bei Instanzmitgliedern kann keine Garantie für die Thread-Sicherheit übernommen werden.

Plattformen

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Siehe auch

Referenz

OrganizationServiceProxy Klasse
OrganizationServiceProxy Mitglieder
Microsoft.Xrm.Sdk.Client Namespace

Weitere Ressourcen

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.
© 2015 Microsoft. All rights reserved.