Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Initializes a new instance of the ShippingMethod class with a default language identifier, language name, and language description.
Namespace: Microsoft.CommerceServer.Orders
Assembly: Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)
Syntax
'Declaration
Public Sub New ( _
defaultLanguage As String, _
name As String, _
description As String _
)
'Usage
Dim defaultLanguage As String
Dim name As String
Dim description As String
Dim instance As New ShippingMethod(defaultLanguage, _
name, description)
public ShippingMethod(
string defaultLanguage,
string name,
string description
)
public:
ShippingMethod(
String^ defaultLanguage,
String^ name,
String^ description
)
public function ShippingMethod(
defaultLanguage : String,
name : String,
description : String
)
Parameters
- defaultLanguage
Type: System..::.String
The default language for the ShippingMethod. May not be nullNothingnullptra null reference (Nothing in Visual Basic).
- name
Type: System..::.String
The name of the ShippingMethod in the DefaultLanguage. May not be nullNothingnullptra null reference (Nothing in Visual Basic).
- description
Type: System..::.String
The description of the ShippingMethod in the DefaultLanguage.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The defaultLanguage or name is nullNothingnullptra null reference (Nothing in Visual Basic). |
Remarks
String inputs are trimmed of all white space characters.
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.