ServiceNameElementCollection.Add(ServiceNameElement) Método
Definição
O método Add(ServiceNameElement) adiciona uma instância de ServiceNameElement a este ServiceNameElementCollection.The Add(ServiceNameElement) method adds a ServiceNameElement instance to this ServiceNameElementCollection.
public:
void Add(System::Security::Authentication::ExtendedProtection::Configuration::ServiceNameElement ^ element);
public void Add (System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElement element);
member this.Add : System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElement -> unit
Public Sub Add (element As ServiceNameElement)
Parâmetros
- element
- ServiceNameElement
A instância de ServiceNameElement a ser adicionada a este ServiceNameElementCollection.The ServiceNameElement instance to add to this ServiceNameElementCollection.
Comentários
O Add método ignora um nome duplicado fornecido no element parâmetro.The Add method ignores a duplicate name provided in the element parameter.
A ServiceNameCollection classe é uma coleção de SPNs (nomes de entidade de serviço) que representam um elemento de configuração para um ExtendedProtectionPolicy .The ServiceNameCollection class is a collection of Service Principal Names (SPNs) that represent a configuration element for an ExtendedProtectionPolicy.