Propriedade ExecuteMultipleSettings.ReturnResponses

Aplica-se a: CRM 2015 on-prem, CRM Online

Gets or sets a value indicating if a response for each message request processed should be returned.

Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (em Microsoft.Xrm.Sdk.dll)

Sintaxe

'Declaração
<DataMemberAttribute> _
Public Property ReturnResponses As Boolean
[DataMemberAttribute] 
public bool ReturnResponses { get; set; }

Valor de Propriedade

Type: Booleano
true if responses should be returned for each message request processed; otherwise, false.

Comentários

If set to true and a request does not return a response, because that is its design, the ExecuteMultipleResponseItem for that request is set to null.

However, even when false, the Responses collection will not be empty if errors are returned. If errors are returned, there will be one response item in the collection for each processed request that returned a fault and Fault will be set to the actual fault that occurred.

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

Classe ExecuteMultipleSettings
Membros de ExecuteMultipleSettings
Namespace Microsoft.Xrm.Sdk

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