MediaCaptureFailedEventHandler Delegate

Definition

Represents the method that will handle the MediaCapture.Failed event.

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)

Parameters

sender
MediaCapture

The MediaCapture object that raised the event.

errorEventArgs
MediaCaptureFailedEventArgs

Arguments that contain information about the event.

Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
backgroundMediaRecording microphone webcam

Applies to