Order Property
Collapse the table of content
Expand the table of content

MessageBodyMemberAttribute.Order Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)

'Declaration
Public Property Order As Integer

Property Value

Type: System.Int32
The location of the element in the SOAP body.

ExceptionCondition
ArgumentOutOfRangeException

The value passed to the property setter is a negative integer.

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft