MseSourceBuffer.ErrorOccurred Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Se produit lorsque MseSourceBuffer a une erreur.
// Register
event_token ErrorOccurred(TypedEventHandler<MseSourceBuffer, IInspectable const&> const& handler) const;
// Revoke with event_token
void ErrorOccurred(event_token const* cookie) const;
// Revoke with event_revoker
MseSourceBuffer::ErrorOccurred_revoker ErrorOccurred(auto_revoke_t, TypedEventHandler<MseSourceBuffer, IInspectable const&> const& handler) const;
public event TypedEventHandler<MseSourceBuffer,object> ErrorOccurred;
function onErrorOccurred(eventArgs) { /* Your code */ }
mseSourceBuffer.addEventListener("erroroccurred", onErrorOccurred);
mseSourceBuffer.removeEventListener("erroroccurred", onErrorOccurred);
- or -
mseSourceBuffer.onerroroccurred = onErrorOccurred;
Public Custom Event ErrorOccurred As TypedEventHandler(Of MseSourceBuffer, Object)
Type d'événement
TypedEventHandler<MseSourceBuffer,IInspectable>