Edit

Share via


AdRotator.OnAdCreated(AdCreatedEventArgs) Method

Definition

Raises the AdCreated event for the AdRotator control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 virtual void OnAdCreated(System::Web::UI::WebControls::AdCreatedEventArgs ^ e);
protected virtual void OnAdCreated (System.Web.UI.WebControls.AdCreatedEventArgs e);
abstract member OnAdCreated : System.Web.UI.WebControls.AdCreatedEventArgs -> unit
override this.OnAdCreated : System.Web.UI.WebControls.AdCreatedEventArgs -> unit
Protected Overridable Sub OnAdCreated (e As AdCreatedEventArgs)

Parameters

e
AdCreatedEventArgs

An AdCreatedEventArgs object that contains event data.

Remarks

Inheriting classes can override this method to perform other tasks. For example, you can use other criteria to filter how an advertisement is chosen by the AdRotator control, or you can record the advertisement for billing purposes.

Applies to

See also