Freigeben über


ExecuteMultipleSettings.ReturnResponses Eigenschaft

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; }

Eigenschaftswert

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

Anmerkungen

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-Sicherheit

Alle öffentlichen statischen Mitglieder (Shared in Visual Basic) dieses Typs sind thread-sicher. Bei Instanzmitgliedern kann keine Garantie für die Thread-Sicherheit übernommen werden.

Plattformen

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Siehe auch

Referenz

ExecuteMultipleSettings Klasse
ExecuteMultipleSettings Mitglieder
Microsoft.Xrm.Sdk Namespace

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