This topic has not yet been rated - Rate this topic

RequestNextAd Method - March 2011 (Deprecated)

When automatic ad rotation is disabled, a call to this method directs the AdControl to show the next ad when an ad becomes available.

Namespace: Microsoft.Advertising.Mobile.UI

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

public void RequestNextAd()

 

Exception Condition

System.InvalidOperationException

The AdControl.RotationEnabled Property is enabled. The RequestNextAd method cannot be used unless the AdControl.RotationEnabled Property is disabled.

If no ad is available, an error may have occurred when trying to contact the ad server.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ