Compartilhar via


PrintSupportExtensionSession.PrintDeviceCapabilitiesChanged Evento

Definição

Gerado quando o sistema atualiza os recursos de impressão em cache da impressora IPP (Internet Printing Protocol) associada.

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

Comentários

O PrintSupportPrintDeviceCapabilitiesChangedEventArgs fornece os recursos de impressão atuais e fornece um método que você pode usar para atualizar os recursos.

Aplica-se a