OrganizationServiceProxy.Execute-metode
Executes a message in the form of a request, and returns a response.
Navneområde: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (i Microsoft.Xrm.Sdk.dll)
Syntaks
'Deklaration
Public Function Execute ( _
request As OrganizationRequest _
) As OrganizationResponse
public OrganizationResponse Execute (
OrganizationRequest request
)
Parametre
- request
Type: OrganizationRequest. An instance of a request class that defines the action to be performed.
Returværdi
Type: OrganizationResponse.
You must cast the return value of this method to the specific instance of the response that corresponds to the Request parameter.
Bemærkninger
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.
Sikkerhed i tråd
Alle offentlige statiske (Shared i Visual Basic) medlemmer af denne type er trådsikret. Alle medlemmer af forekomsten er ikke garanteret trådsikkerhed.
Platforme
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
Se også
Reference
OrganizationServiceProxy-klasse
OrganizationServiceProxy-medlemmer
Microsoft.Xrm.Sdk.Client-navneområde
Andre ressourcer
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.