Compartir a través de


PrintSupportExtensionSession.PrintDeviceCapabilitiesChanged Evento

Definición

Se genera cuando el sistema actualiza las funcionalidades de impresión almacenadas en caché de la impresora del Protocolo de impresión de Internet (IPP) asociada.

// 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) 

Tipo de evento

Comentarios

PrintSupportPrintDeviceCapabilitiesChangedEventArgs proporciona las funcionalidades de impresión actuales y proporciona un método que puede usar para actualizar las funcionalidades.

Se aplica a