Delen via


AppBroadcastSignInResult Enum

Definition

Specifies the result of a sign-in operation.

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 AppBroadcastSignInResult
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.AppBroadcastContract, 65536)]
enum class AppBroadcastSignInResult
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.AppBroadcastContract), 65536)]
public enum AppBroadcastSignInResult
var value = Windows.Media.Capture.AppBroadcastSignInResult.success
Public Enum AppBroadcastSignInResult
Inheritance
AppBroadcastSignInResult
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
Success 0

The sign-in was successful.

AuthenticationFailed 1

The sign-in authentication failed.

Unauthorized 2

The authenticated user does not have permission to access to the requested resource.

ServiceUnavailable 3

The sign-in service is unavailable.

Unknown 4

The sign-in result is unknown.

Remarks

Get the result of a sign-in operation by handling the AppBroadcastBackgroundServiceSignInInfo.SignInStateChanged event.

Applies to