Condividi tramite


Proprietà ExecuteMultipleSettings.ReturnResponses

Si applica a: CRM 2015 on-prem, CRM Online

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

Spazio dei nomi: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Sintassi

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

Valore proprietà

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

Note

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.

Thread Safety

Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. Non è garantito che i membri di istanza siano thread-safe.

Piattaforme

Piattaforme di sviluppo

Windows Vista, Windows Server 2003 e

Piattaforme di destinazione

Windows Vista,Windows XP

Vedere anche

Riferimento

Classe ExecuteMultipleSettings
Membri ExecuteMultipleSettings
Spazio dei nomi Microsoft.Xrm.Sdk

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