ServiceNameElementCollection.Add(ServiceNameElement) Metodo

Definizione

Il metodo Add(ServiceNameElement) aggiunge un'istanza di ServiceNameElement a questo oggetto 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)

Parametri

element
ServiceNameElement

Istanza di ServiceNameElement da aggiungere a questo oggetto ServiceNameElementCollection.

Commenti

Il Add metodo ignora un nome duplicato specificato nel element parametro .

La ServiceNameCollection classe è una raccolta di nomi dell'entità servizio (SPN) che rappresentano un elemento di configurazione per un oggetto ExtendedProtectionPolicy.

Si applica a