WebServiceVersion Constructor
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Initializes a new instance of the WebServiceVersion class with the specified major and minor version numbers.
Namespace: Microsoft.CommerceServer
Assembly: Microsoft.CommerceServer.CrossTierTypes (in Microsoft.CommerceServer.CrossTierTypes.dll)
Syntax
'Declaration
Public Sub New ( _
majorVersion As Integer, _
minorVersion As Integer _
)
'Usage
Dim majorVersion As Integer
Dim minorVersion As Integer
Dim instance As New WebServiceVersion(majorVersion, _
minorVersion)
public WebServiceVersion(
int majorVersion,
int minorVersion
)
public:
WebServiceVersion(
int majorVersion,
int minorVersion
)
public function WebServiceVersion(
majorVersion : int,
minorVersion : int
)
Parameters
- majorVersion
Type: System..::.Int32
The major version number.
- minorVersion
Type: System..::.Int32
The minor version number.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.