Επεξεργασία

Κοινή χρήση μέσω


MessageContractAttribute.IsWrapped Property

Definition

Gets or sets a value that specifies whether the message body has a wrapper element.

public:
 property bool IsWrapped { bool get(); void set(bool value); };
public bool IsWrapped { get; set; }
member this.IsWrapped : bool with get, set
Public Property IsWrapped As Boolean

Property Value

true if the message body has a wrapper element; otherwise, false. The default is true.

Remarks

Set the value of IsWrapped to false to suppress the wrapper element into which the message body is serialized.

Applies to