Freigeben über


MediaCaptureFailedEventHandler Delegat

Definition

Stellt die -Methode dar, die das MediaCapture.Failed-Ereignis behandelt.

public delegate void MediaCaptureFailedEventHandler(MediaCapture ^ sender, MediaCaptureFailedEventArgs ^ errorEventArgs);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(538243067, 23768, 20232, 163, 20, 13, 54, 13, 165, 159, 20)]
class MediaCaptureFailedEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(538243067, 23768, 20232, 163, 20, 13, 54, 13, 165, 159, 20)]
public delegate void MediaCaptureFailedEventHandler(MediaCapture sender, MediaCaptureFailedEventArgs errorEventArgs);
var mediaCaptureFailedEventHandlerHandler = function(sender, errorEventArgs){
/* Your code */
}
Public Delegate Sub MediaCaptureFailedEventHandler(sender As MediaCapture, errorEventArgs As MediaCaptureFailedEventArgs)

Parameter

sender
MediaCapture

Das MediaCapture-Objekt , das das Ereignis ausgelöst hat.

errorEventArgs
MediaCaptureFailedEventArgs

Argumente, die Informationen zum Ereignis enthalten.

Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)
App-Funktionen
backgroundMediaRecording microphone webcam

Gilt für: