共用方式為


GeovisitTrigger 類別

定義

表示觸發 Visits 相關背景工作的事件。

public ref class GeovisitTrigger sealed
/// [Windows.Foundation.Metadata.Activatable(327680, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GeovisitTrigger final
[Windows.Foundation.Metadata.Activatable(327680, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GeovisitTrigger
function GeovisitTrigger()
Public NotInheritable Class GeovisitTrigger
繼承
Object Platform::Object IInspectable GeovisitTrigger
屬性
實作

Windows 需求

裝置系列
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)

備註

如需詳細資訊,請參閱 使用造訪追蹤的指導方針

建構函式

GeovisitTrigger()

初始化新的 GeovisitTrigger 實例。

屬性

MonitoringScope

取得並設定要監視的 Visits 範圍。

適用於