ProviderConnectionPoint.GetSecondaryInterfaces Method
Assembly: System.Web (in system.web.dll)
public ConnectionInterfaceCollection GetSecondaryInterfaces ( Control control )
public function GetSecondaryInterfaces ( control : Control ) : ConnectionInterfaceCollection
Not applicable.
Parameters
- control
The control acting as the provider in a Web Parts connection.
Return Value
A ConnectionInterfaceCollection of additional interfaces provided by the control acting as a provider.A provider connection point object always has a default interface that is used to establish a connection with consumers. An instance of the default interface is retrieved by calling the GetObject method on a ProviderConnectionPoint object.
However, some provider controls will implement multiple interfaces to provide to consumers as part of a connection. These interfaces, which are not the default ones used to establish a connection, are called secondary interfaces. The GetSecondaryInterfaces method provides a way to return a collection of references to the secondary interfaces, just as the GetObject method returns a reference to the default interface.
Notes to Inheritors: The GetSecondaryInterfaces method in the ProviderConnectionPoint class contains no implementation; it returns an empty collection of secondary interfaces. To implement this method, you must inherit from the ProviderConnectionPoint class, and override this method, returning from it a specific set of secondary interfaces.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.