다음을 통해 공유


CashDrawerEventSource 클래스

정의

개발자가 현금 서랍이 열리거나 닫힌 시기를 감지할 수 있는 이벤트 원본을 제공합니다.

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
상속
Object Platform::Object IInspectable CashDrawerEventSource
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

설명

CashDrawerEventSource는 CashDrawer.DrawerEventSource에서 만들어집니다.

이벤트

DrawerClosed

현금 서랍이 닫혀 있을 때 발생합니다.

DrawerOpened

현금 서랍이 열릴 때 발생합니다.

적용 대상