MediaFrameSourceSetPropertyStatus Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the result of a MediaFrameSourceController.SetPropertyAsync operation.
public enum class MediaFrameSourceSetPropertyStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class MediaFrameSourceSetPropertyStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum MediaFrameSourceSetPropertyStatus
var value = Windows.Media.Capture.Frames.MediaFrameSourceSetPropertyStatus.success
Public Enum MediaFrameSourceSetPropertyStatus
- Inheritance
-
MediaFrameSourceSetPropertyStatus
- Attributes
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
Fields
Name | Value | Description |
---|---|---|
Success | 0 | The operation was successful. |
UnknownFailure | 1 | The operation failed for an unknown reason. |
NotSupported | 2 | The operation failed because specified property is not supported by the media frame source. |
InvalidValue | 3 | The operation failed because the supplied value is not valid for the specified property. |
DeviceNotAvailable | 4 | The operation failed because the media frame source device is unavailable. |
NotInControl | 5 | The operation failed because the media frame source was not opened with SharingMode set to ExclusiveControl. |