Поделиться через


AudioGraph.UnrecoverableErrorOccurred Событие

Определение

Уведомляет о неустранимой звуковой ошибке в операции звукового графа.

// Register
event_token UnrecoverableErrorOccurred(TypedEventHandler<AudioGraph, AudioGraphUnrecoverableErrorOccurredEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
AudioGraph::UnrecoverableErrorOccurred_revoker UnrecoverableErrorOccurred(auto_revoke_t, TypedEventHandler<AudioGraph, AudioGraphUnrecoverableErrorOccurredEventArgs const&> const& handler) const;
public event TypedEventHandler<AudioGraph,AudioGraphUnrecoverableErrorOccurredEventArgs> UnrecoverableErrorOccurred;
function onUnrecoverableErrorOccurred(eventArgs) { /* Your code */ }
audioGraph.addEventListener("unrecoverableerroroccurred", onUnrecoverableErrorOccurred);
audioGraph.removeEventListener("unrecoverableerroroccurred", onUnrecoverableErrorOccurred);
- or -
audioGraph.onunrecoverableerroroccurred = onUnrecoverableErrorOccurred;
Public Custom Event UnrecoverableErrorOccurred As TypedEventHandler(Of AudioGraph, AudioGraphUnrecoverableErrorOccurredEventArgs) 

Тип события

Требования к Windows

Возможности приложения
backgroundMediaRecording

Применяется к