MessageBodyMemberAttribute.Order Property
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Gets or sets a value that indicates the position in which the member is serialized into the SOAP body.
Namespace: System.ServiceModel
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Syntax
'Declaration
Public Property Order As Integer
public int Order { get; set; }
Property Value
Type: System.Int32
The location of the element in the SOAP body.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | The value passed to the property setter is a negative integer. |
Remarks
Use the Order property to specify the location of a data member in the SOAP body element. The value is not required to be consecutive, because it does not represent the position of the member, only the sorting key.
The order of the body elements is alphabetical by default. The semantics of this property are the same as the semantics of the Order property.
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
XNA Framework
Supported in: Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.