MediaFrameSourceGetPropertyStatus 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.GetPropertyAsync or MediaFrameSourceController.GetPropertyByExtendedIdAsync operation.
public enum class MediaFrameSourceGetPropertyStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class MediaFrameSourceGetPropertyStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum MediaFrameSourceGetPropertyStatus
var value = Windows.Media.Capture.Frames.MediaFrameSourceGetPropertyStatus.success
Public Enum MediaFrameSourceGetPropertyStatus
- Inheritance
-
MediaFrameSourceGetPropertyStatus
- 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. |
DeviceNotAvailable | 3 | The operation failed because the media frame source device is unavailable. |
MaxPropertyValueSizeTooSmall | 4 | The maxPropertyValueSize provided in the call to MediaFrameSourceController.GetPropertyByExtendedIdAsync is too small for the property value. |
MaxPropertyValueSizeRequired | 5 | The maxPropertyValueSize parameter to MediaFrameSourceController.GetPropertyByExtendedIdAsync is required. |
Remarks
Version history
Windows version | SDK version | Value added |
---|---|---|
1703 | 15063 | MaxPropertyValueSizeRequired |
1703 | 15063 | MaxPropertyValueSizeTooSmall |