ConsumerConnectionPointCollection Constructors

Definition

Initializes a new instance of the ConsumerConnectionPointCollection class.

Overloads

ConsumerConnectionPointCollection()

Initializes a new instance of the ConsumerConnectionPointCollection class.

ConsumerConnectionPointCollection(ICollection)

Initializes a new instance of the ConsumerConnectionPointCollection class using the specified collection of connection points.

ConsumerConnectionPointCollection()

Initializes a new instance of the ConsumerConnectionPointCollection class.

public:
 ConsumerConnectionPointCollection();
public ConsumerConnectionPointCollection ();
Public Sub New ()

Remarks

This constructor creates a new instance of the ConsumerConnectionPointCollection class with no items in the collection.

Applies to

ConsumerConnectionPointCollection(ICollection)

Initializes a new instance of the ConsumerConnectionPointCollection class using the specified collection of connection points.

public:
 ConsumerConnectionPointCollection(System::Collections::ICollection ^ connectionPoints);
public ConsumerConnectionPointCollection (System.Collections.ICollection connectionPoints);
new System.Web.UI.WebControls.WebParts.ConsumerConnectionPointCollection : System.Collections.ICollection -> System.Web.UI.WebControls.WebParts.ConsumerConnectionPointCollection
Public Sub New (connectionPoints As ICollection)

Parameters

connectionPoints
ICollection

A collection of consumer connection points.

Exceptions

connectionPoints is null.

The collection contains an invalid connection point.

-or-

The collection contains an item with a duplicate ID.

Remarks

This constructor creates a new instance of the ConsumerConnectionPointCollection class and adds the connection points contained in the connectionPoints parameter.

Applies to