This documentation is archived and is not being maintained.

ServiceNameCollection Class

The ServiceNameCollection class is a read-only collection of service principal names.

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

public class ServiceNameCollection : ReadOnlyCollectionBase

The ServiceNameCollection class is used in an ExtendedProtectionPolicy when validating against a custom list of service provider names (SPNs).


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Server 2008 R2

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1