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.

SampleAllocationMode Enumeration

Silverlight

Provides values for specifying how the camera video buffer is maintained on Silverlight for Windows Phone.

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

public enum SampleAllocationMode

Member nameDescription
Supported by Silverlight for Windows PhoneNewBufferA new buffer is created for each sample captured. This is the same behavior on Silverlight for the desktop.
Supported by Silverlight for Windows PhoneReuseBufferA new buffer is created for each sample capture. This can improve performance on Silverlight for Windows Phone by reducing the amount of garbage collection that is required.

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft