ServiceNameElementCollection.Add(ServiceNameElement) 方法

定义

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)

参数

注解

Add 方法将忽略在参数中提供的重复名称 element

ServiceNameCollection类是服务主体名称的集合, (spn) 表示的配置元素 ExtendedProtectionPolicy

适用于