ApplicationId Property

Gets the application identifier (application ID) assigned to you during the publisher registration process. This property is set when the AdControl object is created by the constructor. Attempting to set it again will result in an exception.

For more information about application IDs, see Getting Access to Microsoft pubCenter and Receiving Ads.

Namespace: Microsoft.Advertising.Mobile.UI

Assembly: Microsoft.Advertising.Mobile.UI (in Microsoft.Advertising.Mobile.UI.dll) Version: 2.1.11120.1

public string ApplicationId { get; set; }


Exception Condition

Id Already Set

The AdControl.ApplicationId property has already been set. This property can be set only when the AdControl is instantiated by using the default constructor or in XAML. Once set, this property cannot be modified or reset to null.

Community Additions