Freigeben über


CashDrawerEventSource Klasse

Definition

Stellt Ereignisquellen bereit, die es einem Entwickler ermöglichen, zu erkennen, wann die Kassenschublade geöffnet oder geschlossen wird.

public ref class CashDrawerEventSource sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CashDrawerEventSource final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class CashDrawerEventSource final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CashDrawerEventSource
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class CashDrawerEventSource
Public NotInheritable Class CashDrawerEventSource
Vererbung
Object Platform::Object IInspectable CashDrawerEventSource
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Hinweise

CashDrawerEventSource wird aus CashDrawer.DrawerEventSource erstellt.

Ereignisse

DrawerClosed

Tritt auf, wenn die Kassenschublade geschlossen ist.

DrawerOpened

Tritt auf, wenn die Kassenschublade geöffnet wird.

Gilt für: