MediaCaptureFailedEventHandler Délégué

Définition

Représente la méthode qui gérera l’événement MediaCapture.Failed .

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)

Paramètres

sender
MediaCapture

Objet MediaCapture qui a déclenché l’événement.

errorEventArgs
MediaCaptureFailedEventArgs

Arguments qui contiennent des informations sur l’événement.

Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 (introduit dans 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v1.0)
Fonctionnalités de l’application
backgroundMediaRecording microphone webcam

S’applique à