AdRotator.OnAdCreated(AdCreatedEventArgs) Método
Definição
Aciona o evento AdCreated do controle AdRotator.Raises the AdCreated event for the AdRotator control. Esta API está obsoleta.This API is obsolete. Para saber mais sobre como desenvolver aplicativos móveis ASP.NET, veja Mobile Apps & Sites with ASP.NET (Aplicativos móveis e sites com ASP.NET).For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET. Esta API está obsoleta.This API is obsolete. Para saber mais sobre como desenvolver aplicativos móveis ASP.NET, veja Mobile Apps & Sites with ASP.NET (Aplicativos móveis e sites com ASP.NET).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)
Parâmetros
Um objeto AdCreatedEventArgs que contém dados do evento.An AdCreatedEventArgs object that contains event data.
Comentários
A herança de classes pode substituir esse método para executar outras tarefas.Inheriting classes can override this method to perform other tasks. Por exemplo, você pode usar outros critérios para filtrar como um anúncio é escolhido pelo AdRotator controle ou pode registrar o anúncio para fins de cobrança.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.