AdControl.Suspend Method

Definition

Suspends the current banner ad and replaces the current view of the banner ad with a static snapshot of what was being rendered.

public:
 void Suspend();
void Suspend();
public void Suspend();
function suspend()
Public Sub 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. After Resume is 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.

Applies to