IServiceEndpointNotificationService.Execute メソッド

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

Posts the execution context to the specified service endpoint in the cloud.

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

構文

'宣言
Function Execute ( _
    serviceEndpoint As EntityReference, _
    context As IExecutionContext _
) As String
string Execute (
    EntityReference serviceEndpoint,
    IExecutionContext context
)

パラメーター

  • serviceEndpoint
    Type: EntityReference. The service endpoint to post to in the cloud.

戻り値

Type: 文字列
The result. Only a two-way or REST listener will return a string back to the caller.

備考

If the post fails, the IServiceEndpointNotificationService will continue to attempt the post for a pre-defined length of time. After all attempts to post have failed, the related asynchronous operation (system job) will be set to an error status.

スレッド セーフ

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

プラットフォーム

開発プラットフォーム

Windows Vista、Windows Server 2003、および

対象プラットフォーム

Windows Vista、Windows XP

関連項目

参照

IServiceEndpointNotificationService インターフェイス
IServiceEndpointNotificationService のメンバー
Microsoft.Xrm.Sdk 名前空間
IPluginExecutionContext インターフェイス
Management and Notification of Run-time Errors
Write a One-way, Two-way, or REST Listener

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