CaptureSource.CaptureImageAsync Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initiates an asynchronous image capture request. Retrieve the returned image by handling the CaptureImageCompleted event on this CaptureSource.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

Syntax

Public Sub CaptureImageAsync
public void CaptureImageAsync()

Remarks

In any case where you call CaptureImageAsync on a CaptureSource instance, attach a handler for CaptureImageCompleted. Obtain the captured image by calling CaptureImageCompletedEventArgs..::.Result from the event data.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

CaptureSource Class

System.Windows.Media Namespace

CaptureImageCompletedEventArgs