Compartir a través de


Propiedad ExecuteMultipleSettings.ReturnResponses

Se aplica a: CRM 2015 on-prem, CRM Online

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

Espacio de nombres: Microsoft.Xrm.Sdk
Ensamblado: Microsoft.Xrm.Sdk (en Microsoft.Xrm.Sdk.dll)

Sintaxis

'Declaración
<DataMemberAttribute> _
Public Property ReturnResponses As Boolean
[DataMemberAttribute] 
public bool ReturnResponses { get; set; }

Valor de propiedad

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

Comentarios

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.

Seguridad de hilo

Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para el hilo. No se garantiza que los miembros de instancia sean seguros para el hilo.

Plataformas

Plataformas de desarrollo

Windows Vista, Windows Server 2003 y

Plataformas de destino

Windows Vista,Windows XP

Vea también

Referencia

Clase de ExecuteMultipleSettings
Miembros de ExecuteMultipleSettings
Espacio de nombres de Microsoft.Xrm.Sdk

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