ServiceNameElementCollection::Add Method (ServiceNameElement^)

 

The Add method adds a ServiceNameElement instance to this ServiceNameElementCollection.

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

public:
void Add(
	ServiceNameElement^ element
)

The Add method ignores a duplicate name provided in the element parameter.

The ServiceNameCollection class is a collection of Service Principal Names (SPNs) that represent a configuration element for an ExtendedProtectionPolicy.

.NET Framework
Available since 2.0
Return to top
Show: