ExecuteMultipleSettings.ReturnResponses Property
Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics 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 (in Microsoft.Xrm.Sdk.dll)
Syntax
'Declaration
<DataMemberAttribute> _
Public Property ReturnResponses As Boolean
[DataMemberAttribute]
public bool ReturnResponses { get; set; }
Property Value
Type: Boolean
true if responses should be returned for each message request processed; otherwise, false.
Remarks
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
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)
Target Platforms
Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),
See Also
Reference
ExecuteMultipleSettings Class
ExecuteMultipleSettings Members
Microsoft.Xrm.Sdk Namespace
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.