共用方式為


AdvertisingManagerForUser 類別

定義

將使用者與廣告標識碼產生關聯。

public ref class AdvertisingManagerForUser sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AdvertisingManagerForUser final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AdvertisingManagerForUser
Public NotInheritable Class AdvertisingManagerForUser
繼承
Object Platform::Object IInspectable AdvertisingManagerForUser
屬性

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

備註

這個類別的實例是由 AdvertisingManager.GetForUser 方法傳回。

屬性

AdvertisingId

取得唯一標識碼,用來為使用者提供更相關的廣告。

User

取得與廣告標識碼相關聯的使用者。

適用於

另請參閱