ElectronicValueRW.CurrentService Property
2/27/2008
Gets or sets the character string that identifies the currently selected service.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Property CurrentService As String
public abstract string CurrentService { get; set; }
public:
virtual property String^ CurrentService {
String^ get () abstract;
void set (String^ value) abstract;
}
/** @property */
public abstract String get_CurrentService ()
/** @property */
public abstract void set_CurrentService (String value)
public abstract function get CurrentService () : String
public abstract function set CurrentService (value : String)
Remarks
This value is guaranteed to be one of the set of services specified by the ReaderWriterServiceList property.
The character string being enumerated by the ReaderWriterServiceList property can be set.
If an empty string ("") is set, it enters the state that no service has been selected. In this state, depending on the device, an application can operate directly to the device.
When a valid string is set, the service is selected and started.
If the service supports the subservice, the execution of the method and the setting of property are performed to the subservice of the service that property shows. And only the event raises from the subservice which is selected by this property.
This property is initialized to an empty string ("") by the Open method.
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
ElectronicValueRW Class
ElectronicValueRW Members
Microsoft.PointOfService Namespace