ServiceNameCollection ServiceNameCollection ServiceNameCollection ServiceNameCollection Class

Definition

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

public ref class ServiceNameCollection : System::Collections::ReadOnlyCollectionBase
[System.Serializable]
public class ServiceNameCollection : System.Collections.ReadOnlyCollectionBase
type ServiceNameCollection = class
    inherit ReadOnlyCollectionBase
Public Class ServiceNameCollection
Inherits ReadOnlyCollectionBase
Inheritance
ServiceNameCollectionServiceNameCollectionServiceNameCollectionServiceNameCollection
Attributes

Remarks

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

Constructors

ServiceNameCollection(ICollection) ServiceNameCollection(ICollection) ServiceNameCollection(ICollection) ServiceNameCollection(ICollection)

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

Properties

Count Count Count Count
InnerList InnerList InnerList InnerList

Gets the list of elements contained in the ReadOnlyCollectionBase instance.

(Inherited from ReadOnlyCollectionBase)

Methods

Contains(String) Contains(String) Contains(String) Contains(String)

Returns a value indicating whether the specified string occurs within this ServiceNameCollection instance.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Merge(IEnumerable) Merge(IEnumerable) Merge(IEnumerable) Merge(IEnumerable)

Merges the current ServiceNameCollection with the specified values to create a new ServiceNameCollection containing the union.

Merge(String) Merge(String) Merge(String) Merge(String)

Merges the current ServiceNameCollection with the specified values to create a new ServiceNameCollection containing the union.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32)
ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized
ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot

Extension Methods

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to