ServiceNameElementCollection.Add(ServiceNameElement) Método

Definición

El método Add(ServiceNameElement) agrega una instancia de ServiceNameElement a este objeto 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

Instancia de ServiceNameElement que se va a agregar a este objeto ServiceNameElementCollection.

Comentarios

El Add método omite un nombre duplicado proporcionado en el element parámetro .

La ServiceNameCollection clase es una colección de nombres de entidad de seguridad de servicio (SPN) que representan un elemento de configuración para .ExtendedProtectionPolicy

Se aplica a