Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MediaCaptureFailedEventArgs class

Applies to Windows and Windows Phone

Provides data for the MediaCapture.Failed event.

Syntax


/* For information about creating or accessing this object, see Remarks. */

Attributes

[MarshalingBehavior(Standard)]
[Threading(MTA)]
[Version(0x06020000)]

Members

The MediaCaptureFailedEventArgs class has these types of members:

Methods

The MediaCaptureFailedEventArgs class inherits methods from the Object class (C#/VB/C++).

Properties

The MediaCaptureFailedEventArgs class has these properties.

PropertyAccess typeDescription

Code

Read-onlyThe error code of the error that caused the event.

Message

Read-onlyA message string for the error.

 

Remarks

This object is not instantiated directly, it is created by the MediaCapture.Failed event and is returned as an argument to the MediaCaptureFailedEventHandler delegate.

Note  : This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX) and Using Windows Runtime objects in a multithreaded environment (.NET).

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media.Capture
Windows::Media::Capture [C++]

Metadata

Windows.winmd

Capabilities

webcam
microphone

 

 

Show:
© 2014 Microsoft