ServiceNameCollection Classe
Definição
A classe ServiceNameCollection é uma coleção somente leitura de nomes da entidade de serviço.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
- Herança
- Herança
-
ServiceNameCollection
- Atributos
- Implementações
Comentários
A ServiceNameCollection classe é usada em um ExtendedProtectionPolicy ao validar em uma lista personalizada de nomes de provedor de serviços (SPNs).The ServiceNameCollection class is used in an ExtendedProtectionPolicy when validating against a custom list of service provider names (SPNs).
Construtores
| ServiceNameCollection(ICollection) |
Inicializa uma nova instância somente leitura da classe ServiceNameCollection com base em um ICollection existente.Initializes a new read-only instance of the ServiceNameCollection class based on an existing ICollection. |
Propriedades
| Count |
Obtém o número de elementos contidos no ICollection.Gets the number of elements contained in the ICollection. |
| Count |
Obtém o número de elementos contidos na instância de ReadOnlyCollectionBase.Gets the number of elements contained in the ReadOnlyCollectionBase instance. (Herdado de ReadOnlyCollectionBase) |
| InnerList |
Obtém a lista de elementos contidos na instância ReadOnlyCollectionBase.Gets the list of elements contained in the ReadOnlyCollectionBase instance. (Herdado de ReadOnlyCollectionBase) |
Métodos
| Contains(String) |
Retorna um valor que indica se a cadeia de caracteres especificada ocorre nesta instância de ServiceNameCollection.Returns a value indicating whether the specified string occurs within this ServiceNameCollection instance. |
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| GetEnumerator() |
Retorna um enumerador que itera em uma coleção.Returns an enumerator that iterates through a collection. |
| GetEnumerator() |
Retorna um enumerador que itera pela instância ReadOnlyCollectionBase.Returns an enumerator that iterates through the ReadOnlyCollectionBase instance. (Herdado de ReadOnlyCollectionBase) |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| Merge(IEnumerable) |
Mescla o ServiceNameCollection atual com os valores especificados para criar um novo ServiceNameCollection que contém a união.Merges the current ServiceNameCollection with the specified values to create a new ServiceNameCollection containing the union. |
| Merge(String) |
Mescla o ServiceNameCollection atual com os valores especificados para criar um novo ServiceNameCollection que contém a união.Merges the current ServiceNameCollection with the specified values to create a new ServiceNameCollection containing the union. |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |
Implantações explícitas de interface
| ICollection.CopyTo(Array, Int32) |
Copia os elementos do ICollection para um Array, começando em um determinado índice Array.Copies the elements of the ICollection to an Array, starting at a particular Array index. |
| ICollection.CopyTo(Array, Int32) |
Copia todo o ReadOnlyCollectionBase em um Array unidimensional compatível, começando no índice especificado da matriz de destino.Copies the entire ReadOnlyCollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array. (Herdado de ReadOnlyCollectionBase) |
| ICollection.IsSynchronized |
Obtém um valor que indica se o acesso à ICollection é sincronizado (thread-safe).Gets a value indicating whether access to the ICollection is synchronized (thread safe). |
| ICollection.IsSynchronized |
Obtém um valor que indica se o acesso a um objeto ReadOnlyCollectionBase é sincronizado (thread-safe).Gets a value indicating whether access to a ReadOnlyCollectionBase object is synchronized (thread safe). (Herdado de ReadOnlyCollectionBase) |
| ICollection.SyncRoot |
Obtém um objeto que pode ser usado para sincronizar o acesso ao ICollection.Gets an object that can be used to synchronize access to the ICollection. |
| ICollection.SyncRoot |
Obtém um objeto que pode ser usado para sincronizar o acesso a um objeto ReadOnlyCollectionBase.Gets an object that can be used to synchronize access to a ReadOnlyCollectionBase object. (Herdado de ReadOnlyCollectionBase) |
Métodos de Extensão
| Cast<TResult>(IEnumerable) |
Converte os elementos de um IEnumerable para o tipo especificado.Casts the elements of an IEnumerable to the specified type. |
| OfType<TResult>(IEnumerable) |
Filtra os elementos de um IEnumerable com base em um tipo especificado.Filters the elements of an IEnumerable based on a specified type. |
| AsParallel(IEnumerable) |
Habilita a paralelização de uma consulta.Enables parallelization of a query. |
| AsQueryable(IEnumerable) |
Converte um IEnumerable em um IQueryable.Converts an IEnumerable to an IQueryable. |