다음을 통해 공유


Print3DWorkflow.PrinterChanged 이벤트

정의

사용자가 지정된 3D 프린터를 변경할 때 발생합니다.

// Register
event_token PrinterChanged(TypedEventHandler<Print3DWorkflow, Print3DWorkflowPrinterChangedEventArgs const&> const& handler) const;

// Revoke with event_token
void PrinterChanged(event_token const* cookie) const;

// Revoke with event_revoker
Print3DWorkflow::PrinterChanged_revoker PrinterChanged(auto_revoke_t, TypedEventHandler<Print3DWorkflow, Print3DWorkflowPrinterChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<Print3DWorkflow,Print3DWorkflowPrinterChangedEventArgs> PrinterChanged;
function onPrinterChanged(eventArgs) { /* Your code */ }
print3DWorkflow.addEventListener("printerchanged", onPrinterChanged);
print3DWorkflow.removeEventListener("printerchanged", onPrinterChanged);
- or -
print3DWorkflow.onprinterchanged = onPrinterChanged;
Public Custom Event PrinterChanged As TypedEventHandler(Of Print3DWorkflow, Print3DWorkflowPrinterChangedEventArgs) 

이벤트 유형

Windows 요구 사항

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

적용 대상