Validate Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Validates all the information currently in ImportOptions.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Overridable Sub Validate
'Usage
Dim instance As ImportOptions
instance.Validate()
public virtual void Validate()
public:
virtual void Validate()
public function Validate()
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The file name is not specified. |
ArgumentException | The import mode is invalid. |
FileNotFoundException | The file does not exist. |
Remarks
Validates the catalog names, the property names, and the input parameters.
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.
See Also
Reference
Microsoft.CommerceServer.Catalog Namespace
Other Resources
Importing Catalog Data by Using the Catalog API
How to Import From an XML File