Compartilhar via


IMemoryBufferReference.Closed Evento

Definição

Ocorre quando MemoryBuffer.Close foi chamado, mas antes desse IMemoryBufferReference ter sido fechado.

// Register
event_token Closed(TypedEventHandler<IMemoryBufferReference, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
IMemoryBufferReference::Closed_revoker Closed(auto_revoke_t, TypedEventHandler<IMemoryBufferReference, IInspectable const&> const& handler) const;
event TypedEventHandler<IMemoryBufferReference,object> Closed;
function onClosed(eventArgs) { /* Your code */ }
iMemoryBufferReference.addEventListener("closed", onClosed);
iMemoryBufferReference.removeEventListener("closed", onClosed);
- or -
iMemoryBufferReference.onclosed = onClosed;
Event Closed As TypedEventHandler(Of IMemoryBufferReference, Object) 

Tipo de evento

Comentários

Esse evento oferece uma última chance de acessar o IMemoryBufferReference antes de desaparecer.

Aplica-se a