ServiceNameCollection
Class
Definition
The ServiceNameCollection class is a read-only collection of service principal names.
public class ServiceNameCollection : System.Collections.ReadOnlyCollectionBase
- Inheritance
Inherited Members
System.Collections.ReadOnlyCollectionBase
System.Object
Remarks
The ServiceNameCollection class is used in an ExtendedProtectionPolicy when validating against a custom list of service provider names (SPNs).
Constructors
| ServiceNameCollection(ICollection) |
Initializes a new read-only instance of the ServiceNameCollection class based on an existing ICollection. |
Properties
| Count |
Methods
| Contains(String) |
Returns a value indicating whether the specified string occurs within this ServiceNameCollection instance. |
| GetEnumerator() | |
| Merge(IEnumerable) |
Merges the current ServiceNameCollection with the specified values to create a new ServiceNameCollection containing the union. |
| Merge(String) |
Merges the current ServiceNameCollection with the specified values to create a new ServiceNameCollection containing the union. |
Explicit Interface Implementations
| ICollection.CopyTo(Array, Int32) | |
| ICollection.IsSynchronized | |
| ICollection.SyncRoot |
Extension Methods
| Cast<TResult>(IEnumerable) | |
| OfType<TResult>(IEnumerable) | |
| AsParallel(IEnumerable) | |
| AsQueryable(IEnumerable) |