MseSourceBuffer.Aborted Событие
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Происходит при прерывании mseSourceBuffer .
// Register
event_token Aborted(TypedEventHandler<MseSourceBuffer, IInspectable const&> const& handler) const;
// Revoke with event_token
void Aborted(event_token const* cookie) const;
// Revoke with event_revoker
MseSourceBuffer::Aborted_revoker Aborted(auto_revoke_t, TypedEventHandler<MseSourceBuffer, IInspectable const&> const& handler) const;
public event TypedEventHandler<MseSourceBuffer,object> Aborted;
function onAborted(eventArgs) { /* Your code */ }
mseSourceBuffer.addEventListener("aborted", onAborted);
mseSourceBuffer.removeEventListener("aborted", onAborted);
- or -
mseSourceBuffer.onaborted = onAborted;
Public Custom Event Aborted As TypedEventHandler(Of MseSourceBuffer, Object)
Тип события
TypedEventHandler<MseSourceBuffer,IInspectable>