Suspend(bool) - Windows 8.1
Updated: October 17, 2013
Published: April 1, 2014
Suspends the current ad. Replaces the current view of the ad with a static snapshot of what was being rendered. This overloaded method allows the ad to be placed in a suspended state while canceling any expanded experience or without closing a full screen ad.
public void Suspend(bool)
A parameter value of true will cancel any action that expands the ad. For example, an image ad will not expand to be full screen.
A parameter value of false will result in no action being taken on the expanded ad. For example, a full screen ad will not be closed.
After calling Suspend the AdControl will not automatically refresh, even if the IsAutoRefreshEnabled property is set to true. This method overrides the setting of the IsAutoRefreshEnabled property while the ad is in a suspended state. Once the Resume method has been called, the value of the IsAutoRefreshEnabled property controls the refresh behavior of the AdControl.
Support and Feedback
Get product support or report a bug in the advertising SDK by visiting the Windows Store Apps developer support page support page. For product support, under "App development" click the "Advertising SDK" link. To post a question in the support forum, scroll down to "Find answers online" and click "Ads-in-Apps for Windows 8 forum".
Send feedback about this documentation to firstname.lastname@example.org. There is no product support through this alias. Documentation feedback only.