Compartir vía


WebPartConnectionsEventArgs Constructores

Definición

Inicializa una nueva instancia de la clase WebPartConnectionsEventArgs.

Sobrecargas

WebPartConnectionsEventArgs(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint)

Inicializa una nueva instancia de la clase WebPartConnectionsEventArgs sin necesidad de un objeto WebPartConnection.

WebPartConnectionsEventArgs(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint, WebPartConnection)

Inicializa una nueva instancia de la clase utilizando el objeto WebPartConnection especificado.

WebPartConnectionsEventArgs(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint)

Inicializa una nueva instancia de la clase WebPartConnectionsEventArgs sin necesidad de un objeto WebPartConnection.

public:
 WebPartConnectionsEventArgs(System::Web::UI::WebControls::WebParts::WebPart ^ provider, System::Web::UI::WebControls::WebParts::ProviderConnectionPoint ^ providerConnectionPoint, System::Web::UI::WebControls::WebParts::WebPart ^ consumer, System::Web::UI::WebControls::WebParts::ConsumerConnectionPoint ^ consumerConnectionPoint);
public WebPartConnectionsEventArgs (System.Web.UI.WebControls.WebParts.WebPart provider, System.Web.UI.WebControls.WebParts.ProviderConnectionPoint providerConnectionPoint, System.Web.UI.WebControls.WebParts.WebPart consumer, System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint consumerConnectionPoint);
new System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs : System.Web.UI.WebControls.WebParts.WebPart * System.Web.UI.WebControls.WebParts.ProviderConnectionPoint * System.Web.UI.WebControls.WebParts.WebPart * System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint -> System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs
Public Sub New (provider As WebPart, providerConnectionPoint As ProviderConnectionPoint, consumer As WebPart, consumerConnectionPoint As ConsumerConnectionPoint)

Parámetros

provider
WebPart

Control que actúa como proveedor.

providerConnectionPoint
ProviderConnectionPoint

Punto de conexión del proveedor.

consumer
WebPart

Control que actúa como consumidor.

consumerConnectionPoint
ConsumerConnectionPoint

Punto de conexión del consumidor.

Comentarios

Este es el constructor sin parámetros. No requiere un WebPartConnection objeto . El constructor inicializa los valores de sus propiedades asignando cada uno de sus objetos de parámetro relacionados con la conexión a la propiedad correspondiente.

Se aplica a

WebPartConnectionsEventArgs(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint, WebPartConnection)

Inicializa una nueva instancia de la clase utilizando el objeto WebPartConnection especificado.

public:
 WebPartConnectionsEventArgs(System::Web::UI::WebControls::WebParts::WebPart ^ provider, System::Web::UI::WebControls::WebParts::ProviderConnectionPoint ^ providerConnectionPoint, System::Web::UI::WebControls::WebParts::WebPart ^ consumer, System::Web::UI::WebControls::WebParts::ConsumerConnectionPoint ^ consumerConnectionPoint, System::Web::UI::WebControls::WebParts::WebPartConnection ^ connection);
public WebPartConnectionsEventArgs (System.Web.UI.WebControls.WebParts.WebPart provider, System.Web.UI.WebControls.WebParts.ProviderConnectionPoint providerConnectionPoint, System.Web.UI.WebControls.WebParts.WebPart consumer, System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint consumerConnectionPoint, System.Web.UI.WebControls.WebParts.WebPartConnection connection);
new System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs : System.Web.UI.WebControls.WebParts.WebPart * System.Web.UI.WebControls.WebParts.ProviderConnectionPoint * System.Web.UI.WebControls.WebParts.WebPart * System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint * System.Web.UI.WebControls.WebParts.WebPartConnection -> System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs
Public Sub New (provider As WebPart, providerConnectionPoint As ProviderConnectionPoint, consumer As WebPart, consumerConnectionPoint As ConsumerConnectionPoint, connection As WebPartConnection)

Parámetros

provider
WebPart

Control WebPart o control de servidor que actúa como proveedor.

providerConnectionPoint
ProviderConnectionPoint

ProviderConnectionPoint de la conexión.

consumer
WebPart

Control WebPart o control de servidor que actúa como consumidor.

consumerConnectionPoint
ConsumerConnectionPoint

ConsumerConnectionPoint de la conexión.

Comentarios

Esta versión del WebPartConnectionsEventArgs constructor se usa cuando hay un WebPartConnection objeto disponible.

Se aplica a