ProductStreamer ClassA Sandcastle Documented Class Library

An IEnumerable that allows you to do filtered product exports, conveniently parsed into ResultProduct items. Every new iteration on this class will result in a new request to eSales. Note that the IEnumerator returned by the GetEnumerator method must be disposed when done. This is done automatically when using foreach iteration.

Note that while iterating, imports will be blocked from completing on a selected eSales server. Imports will not fail but will wait for the iteration to finish. This means that if you fail to close the ProductStreamer you might block imports indefinitely!

If an error occurrs during iteration a XmlException, IOException or BadServerException may be thrown.

Inheritance Hierarchy

SystemObject
  Apptus.ESales.ConnectorProductStreamer

Namespace:  Apptus.ESales.Connector
Assembly:  Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 4.3.0
Syntax

C#
public class ProductStreamer : IEnumerable<ResultProduct>, 
	IEnumerable

The ProductStreamer type exposes the following members.

Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumerator
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
See Also

Reference