ExecuteMultipleSettings.ReturnResponses Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating if a response for each message request processed should be returned.
public:
property bool ReturnResponses { bool get(); void set(bool value); };
[System.Runtime.Serialization.DataMember]
public bool ReturnResponses { get; set; }
[<System.Runtime.Serialization.DataMember>]
member this.ReturnResponses : bool with get, set
Public Property ReturnResponses As Boolean
Property Value
true
if responses should be returned for each message request processed; otherwise, false
.
- Attributes
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.