Share via


Biometrics.AutoDisable Property

2/27/2008

Gets or sets a Boolean value that indicates whether the device is disabled after data is received.

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

Syntax

'Declaration
Public MustOverride Property AutoDisable As Boolean
public abstract bool AutoDisable { get; set; }
public:
virtual property bool AutoDisable {
    bool get () abstract;
    void set (bool value) abstract;
}
/** @property */
public abstract boolean get_AutoDisable ()

/** @property */
public abstract void set_AutoDisable (boolean value)
public abstract function get AutoDisable () : boolean

public abstract function set AutoDisable (value : boolean)

Remarks

AutoDisable provides the application that has an additional option for controlling the receipt of input data. If the application wants to receive and process only one input, or only one input at a time, this property can be set to true.

When true, the service object sets the DeviceEnabled property to false as soon as it receives and queues data to be raised as a DataEvent. Before the service object raises any later events, the application must set DeviceEnabled back to true.

When false, the service object does not automatically disable the device when data is received; instead, it relies on the application to set the value of the DeviceEnabled property.

AutoDisable is typically initialized to false.

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

Biometrics Class
Biometrics Members
Microsoft.PointOfService Namespace
DeviceEnabled
DataEvent