Dela via


AppBroadcastTerminationReason Enum

Definition

Specifies the reason that an app broadcast was terminated.

Note

This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime.

public enum class AppBroadcastTerminationReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.AppBroadcastContract, 65536)]
enum class AppBroadcastTerminationReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.AppBroadcastContract), 65536)]
public enum AppBroadcastTerminationReason
var value = Windows.Media.Capture.AppBroadcastTerminationReason.normalTermination
Public Enum AppBroadcastTerminationReason
Inheritance
AppBroadcastTerminationReason
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.15063.0)
API contract
Windows.Media.Capture.AppBroadcastContract (introduced in v1.0)
App capabilities
appBroadcast appBroadcastSettings

Fields

Name Value Description
NormalTermination 0

The app broadcast was terminated because it was terminated normally.

LostConnectionToService 1

The app broadcast was terminated because the connection to the service was lost.

NoNetworkConnectivity 2

The app broadcast was terminated because there is no network connectivity.

ServiceAbort 3

The app broadcast was terminated because the service aborted the broadcast.

ServiceError 4

The app broadcast was terminated because there was a service error.

ServiceUnavailable 5

The app broadcast was terminated because the service was unavailable.

InternalError 6

The app broadcast was terminated because of an internal error.

UnsupportedFormat 7

The app broadcast was terminated because it uses an unsupported format.

BackgroundTaskTerminated 8

The app broadcast was terminated because the app broadcast background task was terminated.

BackgroundTaskUnresponsive 9

The app broadcast was terminated because the app broadcast background task was unresponsive.

Applies to