PrintSupportExtensionSession.PrintDeviceCapabilitiesChanged Событие

Определение

Возникает при обновлении системой кэшированных возможностей печати связанного принтера IPP.

// Register
event_token PrintDeviceCapabilitiesChanged(TypedEventHandler<PrintSupportExtensionSession, PrintSupportPrintDeviceCapabilitiesChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
PrintSupportExtensionSession::PrintDeviceCapabilitiesChanged_revoker PrintDeviceCapabilitiesChanged(auto_revoke_t, TypedEventHandler<PrintSupportExtensionSession, PrintSupportPrintDeviceCapabilitiesChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<PrintSupportExtensionSession,PrintSupportPrintDeviceCapabilitiesChangedEventArgs> PrintDeviceCapabilitiesChanged;
function onPrintDeviceCapabilitiesChanged(eventArgs) { /* Your code */ }
printSupportExtensionSession.addEventListener("printdevicecapabilitieschanged", onPrintDeviceCapabilitiesChanged);
printSupportExtensionSession.removeEventListener("printdevicecapabilitieschanged", onPrintDeviceCapabilitiesChanged);
- or -
printSupportExtensionSession.onprintdevicecapabilitieschanged = onPrintDeviceCapabilitiesChanged;
Public Custom Event PrintDeviceCapabilitiesChanged As TypedEventHandler(Of PrintSupportExtensionSession, PrintSupportPrintDeviceCapabilitiesChangedEventArgs) 

Тип события

Комментарии

PrintSupportPrintDeviceCapabilitiesChangedEventArgs предоставляет текущие возможности печати и метод, который можно использовать для обновления возможностей.

Применяется к