Compartir vía


DynamicRouteExpression.SetContext Método

Definición

Establece el contexto HTTP del objeto DynamicRouteExpression.

public:
 override void SetContext(System::Web::UI::Control ^ owner, System::Web::HttpContext ^ context, System::Web::UI::WebControls::IQueryableDataSource ^ dataSource);
public override void SetContext (System.Web.UI.Control owner, System.Web.HttpContext context, System.Web.UI.WebControls.IQueryableDataSource dataSource);
override this.SetContext : System.Web.UI.Control * System.Web.HttpContext * System.Web.UI.WebControls.IQueryableDataSource -> unit
Public Overrides Sub SetContext (owner As Control, context As HttpContext, dataSource As IQueryableDataSource)

Parámetros

owner
Control

Control que contiene la instancia de DynamicRouteExpression. Se trata de un control QueryExtender.

context
HttpContext

Contexto de la solicitud web.

dataSource
IQueryableDataSource

Origen de datos de destino para la instancia de DynamicRouteExpression.

Se aplica a