AdControl.Suspend method
Suspends the current banner ad and replaces the current view of the ad with a static snapshot of what was being rendered.
Syntax
public void Suspend()
Remarks
After calling Suspend, the AdControl will not automatically refresh, even if the IsAutoRefreshEnabled property is set to true. Suspend overrides the setting of the IsAutoRefreshEnabled property while the ad is in a suspended state. Once Resume has been called, the value of the IsAutoRefreshEnabled property controls the refresh behavior of the AdControl.
After a call to Suspend, you cannot manually Refresh the AdControl until Resume has been called.
This overload is used when you do not need to stop the expansion of an ad. Otherwise, use the Suspend(bool).
Requirements
| Minimum supported phone | Windows Phone 8 Silverlight |
|---|---|
| Namespace | Microsoft.Advertising.Mobile.UI |
| Assembly | Microsoft.Advertising.Mobile.UI.dll |