Partilhar via


WebServiceVersion Structure

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Describes the version of a Web service.

Namespace:  Microsoft.CommerceServer
Assembly:  Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)

Syntax

'Declaration
Public Structure WebServiceVersion
'Usage
Dim instance As WebServiceVersion
public struct WebServiceVersion
public value class WebServiceVersion
JScript supports the use of structures, but not the declaration of new ones.

Remarks

Changes to the minor version indicate a backward compatible change. Changes to the major version indicate an incompatible change. A client should check the Web service version before attempting to call methods on the Web service. If the version is not compatible with the version the client was developed against, the client should abort with a clear indication to the user of what went wrong.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

WebServiceVersion Members

Microsoft.CommerceServer Namespace