Método IServiceEndpointNotificationService.Execute
Aplica-se a: CRM 2015 on-prem, CRM Online
Posts the execution context to the specified service endpoint in the cloud.
Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (em Microsoft.Xrm.Sdk.dll)
Sintaxe
'Declaração
Function Execute ( _
serviceEndpoint As EntityReference, _
context As IExecutionContext _
) As String
string Execute (
EntityReference serviceEndpoint,
IExecutionContext context
)
Parâmetros
- serviceEndpoint
Type: EntityReference. The service endpoint to post to in the cloud.
- context
Type: IExecutionContext. The event execution context.
Valor de Retorno
Type: Cadeia de caracteres
The result. Only a two-way or REST listener will return a string back to the caller.
Comentários
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.
Segurança do Thread
Todos os membros estáticos (Shared in Visual Basic) desse tipo são protegidos por thread. Não há nenhum garantia de que os membros de instância sejam protegidos por thread.
Plataformas
Plataformas de desenvolvimento
Windows Vista, Windows Server 2003 e
Plataformas de destino
Windows Vista,Windows XP
Consulte também
Referência
Interface IServiceEndpointNotificationService
Membros de IServiceEndpointNotificationService
Namespace Microsoft.Xrm.Sdk
Interface 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.