Share via


ImageScanner.StartSession Method

2/27/2008

Starts the Image Scanner session to obtain still images, decode, and video stream data in a mode specified by the ImageMode property.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride Sub StartSession
public abstract void StartSession ()
public:
virtual void StartSession () abstract
public abstract void StartSession ()
public abstract function StartSession ()

Remarks

A session is active until the StopSession method is invoked or until the Image Scanner ends the session on its own. A session may close early if decode data or an image is obtained, or when a session time-out has expired. The criteria for ending a session depends on the implementation.

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

ImageScanner Class
ImageScanner Members
Microsoft.PointOfService Namespace
CapHostTriggered
ImageMode
StopSession