AdvertisingManagerForUser Class

Definition

Associates a user with an advertising ID.

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
Inheritance
Object Platform::Object IInspectable AdvertisingManagerForUser
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

An instance of this class is returned by the AdvertisingManager.GetForUser method.

Properties

AdvertisingId

Gets a unique ID used to provide more relevant advertising to a user.

User

Gets the user who is associated with the advertising ID.

Applies to

See also