次の方法で共有


OrganizationServiceProxy.Execute メソッド

適用対象: CRM 2015 on-prem, CRM Online

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

名前空間: Microsoft.Xrm.Sdk.Client
アセンブリ: Microsoft.Xrm.Sdk (Microsoft.Xrm.Sdk.dll に含まれる)

構文

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

パラメーター

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

戻り値

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

備考

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.

スレッド セーフ

この種類のパブリックな静的 (Visual Basic では Shared) メンバーはスレッド セーフです。インスタンス メンバーがスレッド セーフであることは保証されません。

プラットフォーム

開発プラットフォーム

Windows Vista、Windows Server 2003、および

対象プラットフォーム

Windows Vista、Windows XP

関連項目

参照

OrganizationServiceProxy クラス
OrganizationServiceProxy のメンバー
Microsoft.Xrm.Sdk.Client 名前空間

他のリソース

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.