MediaFrameSourceSetPropertyStatus Enum

Definition

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

DeviceNotAvailable 4

The operation failed because the media frame source device is unavailable.

InvalidValue 3

The operation failed because the supplied value is not valid for the specified property.

NotInControl 5

The operation failed because the media frame source was not opened with SharingMode set to ExclusiveControl.

NotSupported 2

The operation failed because specified property is not supported by the media frame source.

Success 0

The operation was successful.

UnknownFailure 1

The operation failed for an unknown reason.

Applies to