ServiceNameCollection Класс
Определение
Класс ServiceNameCollection является доступной только для чтения коллекцией имен субъектов-служб.The ServiceNameCollection class is a read-only collection of service principal names.
public ref class ServiceNameCollection : System::Collections::ReadOnlyCollectionBase
public ref class ServiceNameCollection : System::Collections::ICollection
public class ServiceNameCollection : System.Collections.ReadOnlyCollectionBase
public class ServiceNameCollection : System.Collections.ICollection
[System.Serializable]
public class ServiceNameCollection : System.Collections.ReadOnlyCollectionBase
type ServiceNameCollection = class
inherit ReadOnlyCollectionBase
type ServiceNameCollection = class
interface ICollection
interface IEnumerable
[<System.Serializable>]
type ServiceNameCollection = class
inherit ReadOnlyCollectionBase
Public Class ServiceNameCollection
Inherits ReadOnlyCollectionBase
Public Class ServiceNameCollection
Implements ICollection
- Наследование
- Наследование
-
ServiceNameCollection
- Атрибуты
- Реализации
Комментарии
ServiceNameCollectionКласс используется в ExtendedProtectionPolicy при проверке по пользовательскому списку имен поставщиков услуг (SPN).The ServiceNameCollection class is used in an ExtendedProtectionPolicy when validating against a custom list of service provider names (SPNs).
Конструкторы
ServiceNameCollection(ICollection) |
Инициализирует новый, доступный только для чтения экземпляр класса ServiceNameCollection на основе существующего ICollection.Initializes a new read-only instance of the ServiceNameCollection class based on an existing ICollection. |
Свойства
Count |
Получает число элементов, содержащихся в интерфейсе ICollection.Gets the number of elements contained in the ICollection. |
Count |
Возвращает количество элементов, содержащихся в экземпляре ReadOnlyCollectionBase.Gets the number of elements contained in the ReadOnlyCollectionBase instance. (Унаследовано от ReadOnlyCollectionBase) |
InnerList |
Получает список элементов, содержащихся в экземпляре ReadOnlyCollectionBase.Gets the list of elements contained in the ReadOnlyCollectionBase instance. (Унаследовано от ReadOnlyCollectionBase) |
Методы
Contains(String) |
Возвращает значение, указывающее, происходит ли заданная строка в этом экземпляре ServiceNameCollection.Returns a value indicating whether the specified string occurs within this ServiceNameCollection instance. |
Equals(Object) |
Определяет, равен ли указанный объект текущему объекту.Determines whether the specified object is equal to the current object. (Унаследовано от Object) |
GetEnumerator() |
Возвращает перечислитель, который осуществляет итерацию по коллекции.Returns an enumerator that iterates through a collection. |
GetEnumerator() |
Возвращает перечислитель, перебирающий элементы экземпляра класса ReadOnlyCollectionBase.Returns an enumerator that iterates through the ReadOnlyCollectionBase instance. (Унаследовано от ReadOnlyCollectionBase) |
GetHashCode() |
Служит хэш-функцией по умолчанию.Serves as the default hash function. (Унаследовано от Object) |
GetType() |
Возвращает объект Type для текущего экземпляра.Gets the Type of the current instance. (Унаследовано от Object) |
MemberwiseClone() |
Создает неполную копию текущего объекта Object.Creates a shallow copy of the current Object. (Унаследовано от Object) |
Merge(IEnumerable) |
Объединяет текущий ServiceNameCollection с указанными значениями, чтобы создать новый ServiceNameCollection, содержащий слияние.Merges the current ServiceNameCollection with the specified values to create a new ServiceNameCollection containing the union. |
Merge(String) |
Объединяет текущий объект ServiceNameCollection с указанными значениями, чтобы создать новый объект ServiceNameCollection, содержащий объединение.Merges the current ServiceNameCollection with the specified values to create a new ServiceNameCollection containing the union. |
ToString() |
Возвращает строку, представляющую текущий объект.Returns a string that represents the current object. (Унаследовано от Object) |
Явные реализации интерфейса
ICollection.CopyTo(Array, Int32) |
Копирует элементы коллекции ICollection в массив Array, начиная с указанного индекса массива Array.Copies the elements of the ICollection to an Array, starting at a particular Array index. |
ICollection.CopyTo(Array, Int32) |
Копирует целый массив ReadOnlyCollectionBase в совместимый одномерный массив Array, начиная с заданного индекса целевого массива.Copies the entire ReadOnlyCollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array. (Унаследовано от ReadOnlyCollectionBase) |
ICollection.IsSynchronized |
Возвращает значение, показывающее, является ли доступ к коллекции ICollection синхронизированным (потокобезопасным).Gets a value indicating whether access to the ICollection is synchronized (thread safe). |
ICollection.IsSynchronized |
Возвращает значение, указывающее на то, является ли доступ к объекту ReadOnlyCollectionBase синхронизированным (потокобезопасным).Gets a value indicating whether access to a ReadOnlyCollectionBase object is synchronized (thread safe). (Унаследовано от ReadOnlyCollectionBase) |
ICollection.SyncRoot |
Получает объект, с помощью которого можно синхронизировать доступ к коллекции ICollection.Gets an object that can be used to synchronize access to the ICollection. |
ICollection.SyncRoot |
Получает объект, который позволяет синхронизировать доступ к объекту ReadOnlyCollectionBase.Gets an object that can be used to synchronize access to a ReadOnlyCollectionBase object. (Унаследовано от ReadOnlyCollectionBase) |
Методы расширения
Cast<TResult>(IEnumerable) |
Приводит элементы объекта IEnumerable к заданному типу.Casts the elements of an IEnumerable to the specified type. |
OfType<TResult>(IEnumerable) |
Выполняет фильтрацию элементов объекта IEnumerable по заданному типу.Filters the elements of an IEnumerable based on a specified type. |
AsParallel(IEnumerable) |
Позволяет осуществлять параллельный запрос.Enables parallelization of a query. |
AsQueryable(IEnumerable) |
Преобразовывает коллекцию IEnumerable в объект IQueryable.Converts an IEnumerable to an IQueryable. |