ServiceNameElementCollection.Add(ServiceNameElement) Metoda

Definicja

Metoda Add(ServiceNameElement) dodaje ServiceNameElement wystąpienie do tego obiektu 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)

Parametry

element
ServiceNameElement

Wystąpienie ServiceNameElement do dodania do tego wystąpienia ServiceNameElementCollection .

Uwagi

Metoda Add ignoruje zduplikowaną nazwę podaną w element parametrze .

Klasa jest kolekcją głównych nazw ServiceNameCollection usług (SPN), które reprezentują element konfiguracji dla ExtendedProtectionPolicy elementu .

Dotyczy