ConnectionConsumerAttribute.ConnectionConsumerAttribute(String, Type) Constructor
Assembly: System.Web (in system.web.dll)
public ConnectionConsumerAttribute ( String displayName, Type connectionPointType )
public function ConnectionConsumerAttribute ( displayName : String, connectionPointType : Type )
Not applicable.
Parameters
- displayName
A string that contains a friendly name for the consumer connection point to display in the user interface (UI).
- connectionPointType
A Type that derives from ConsumerConnectionPoint, and that you want to specify as the type of connection point object to use with a specific callback method.
The displayName parameter is a friendly name of the consumer connection point that is used by the ConnectionsZone control to represent a consumer's connection point in the UI.
The connectionPointType parameter must be a Type derived from ConsumerConnectionPoint. If this parameter is specified, the Type is used to create the connection point instead of the standard ConsumerConnectionPoint class provided with the Web Parts control set.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.