AudioGraph.UnrecoverableErrorOccurred 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
通知音訊圖形作業中無法復原的音訊錯誤。
// 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
|