Dela via


MediaProcessingTriggerResult Enum

Definition

Specifies the result of a call to MediaProcessingTrigger.RequestAsync.

public enum class MediaProcessingTriggerResult
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MediaProcessingTriggerResult
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MediaProcessingTriggerResult
var value = Windows.ApplicationModel.Background.MediaProcessingTriggerResult.allowed
Public Enum MediaProcessingTriggerResult
Inheritance
MediaProcessingTriggerResult
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Allowed 0

The media processing trigger request was successful.

CurrentlyRunning 1

The media processing background task is currently running.

DisabledByPolicy 2

The media processing trigger is disabled by policy on the device.

UnknownError 3

An unknown error occurred.

Applies to