Set to true to notify system that service has been used and the event shall not be transmitted to remaining event handlers registered.

Namespace: BasicCard.Framework
Assembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)

Syntax

C#
public bool ServiceConsumed { get; set; }
Visual Basic
Public Property ServiceConsumed As Boolean
	Get
	Set
Visual C++
public:
property bool ServiceConsumed {
	bool get ();
	void set (bool value);
}
F#
member ServiceConsumed : bool with get, set

Property Value

Type: Boolean

Remarks

This option is available in ServiceNowAvailable events only.

Note: That if the service is not consumed at all, it will be disposed to release resources to the system. The corresponding card reader will be ignored until that (unused) card has been removed.

Exceptions

ExceptionCondition
System..::..InvalidOperationExceptionIf set to true for event type other than ServiceNowAvailable.

See Also