Propriété ExecuteMultipleSettings.ReturnResponses
S'applique à: CRM 2015 on-prem, CRM Online
Gets or sets a value indicating if a response for each message request processed should be returned.
Espace de noms: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (dans Microsoft.Xrm.Sdk.dll)
Syntaxe
'Déclaration
<DataMemberAttribute> _
Public Property ReturnResponses As Boolean
[DataMemberAttribute]
public bool ReturnResponses { get; set; }
Valeur de propriété
Type: Booléen
true if responses should be returned for each message request processed; otherwise, false.
Remarques
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.
Cohérence de thread
Tous les membres statiques publics (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres d'instance ne sont pas garantis thread-safe.
Plateformes
Plateformes de développement
Windows Vista, Windows Server 2003 et
Plateformes cibles
Windows Vista,Windows XP
Voir aussi
Référence
Classe ExecuteMultipleSettings
Membres ExecuteMultipleSettings
Espace de noms Microsoft.Xrm.Sdk
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.