Expand Minimize

WS_STRUCT_OPTIONS enumeration

A set of flags used within a WS_STRUCT_DESCRIPTION.

Syntax


enum WS_STRUCT_OPTIONS {  WS_STRUCT_ABSTRACT, 
  WS_STRUCT_IGNORE_TRAILING_ELEMENT_CONTENT, 
  WS_STRUCT_IGNORE_UNHANDLED_ATTRIBUTES 

};

Constants

WS_STRUCT_ABSTRACT

Indicates the type is an abstract type that cannot be serialized or deserialized. Abstract types are used as base types for other types and are not created directly.

This value may only be specified if the WS_STRUCT_DESCRIPTION contains a WS_FIELD_DESCRIPTION that specifies WS_TYPE_ATTRIBUTE_FIELD_MAPPING.

WS_STRUCT_IGNORE_TRAILING_ELEMENT_CONTENT

Indicates trailing element content of the structure before the end of the structure element should be ignored and discarded during deserialization. The flag is ignored unless it is used with WS_ELEMENT_TYPE_MAPPING.

This flag can be used for extensibility such that current structure can interoperate with future version where new fields might be added at the end of the structure.

WS_STRUCT_IGNORE_UNHANDLED_ATTRIBUTES

Indicates unhandled attributes of the element should be ignored and discarded during deserialization. The flag is ignored unless it is used with WS_ELEMENT_TYPE_MAPPING.

his flag can be used for extensibility such that current structure can interoperate with future version where new attributes might be added.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

WebServices.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft