AdRotator.OnAdCreated(AdCreatedEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.