LockScreenBadge 类

定义

表示应用的锁屏提醒。

public ref class LockScreenBadge sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class LockScreenBadge final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class LockScreenBadge
Public NotInheritable Class LockScreenBadge
继承
Object Platform::Object IInspectable LockScreenBadge
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

属性

AutomationName

获取名称。

Glyph

获取要显示的字形。

Logo

获取要与锁屏提醒一起显示的徽标。

Number

获取要与锁屏提醒一起显示的数字。

方法

LaunchApp()

启动与锁屏提醒对应的应用。

适用于