Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ServiceNameCollection Constructor (ICollection^)

 

Initializes a new read-only instance of the ServiceNameCollection class based on an existing ICollection.

Namespace:   System.Security.Authentication.ExtendedProtection
Assembly:  System (in System.dll)

public:
ServiceNameCollection(
	ICollection^ items
)

Parameters

items
Type: System.Collections::ICollection^

An instance of the ICollection class that contains the specified values of service names to be used to initialize the class.

Exception Condition
ArgumentNullException

item is null.

ArgumentException

item is empty.

The ServiceNameCollection class that is initialized contains the specified values passed in the items parameter.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft