SecurityTokenRequirement.PeerAuthenticationMode 属性
定义
获取用于指定对等身份验证方法的属性在 Properties 集合中的索引名称。Gets the name of the index in the Properties collection for a property that specifies the peer authentication method.
public:
static property System::String ^ PeerAuthenticationMode { System::String ^ get(); };
public static string PeerAuthenticationMode { get; }
member this.PeerAuthenticationMode : string
Public Shared ReadOnly Property PeerAuthenticationMode As String
属性值
用于指定对等身份验证方法的属性在 Properties 集合中的索引名称。The name of the index in the Properties collection for a property that specifies the peer authentication method.
注解
若要添加设置对等身份验证模式的功能,请从 SecurityTokenRequirement 派生类并公开属性或构造函数。To add the capability to set the peer authentication mode, derive a class from SecurityTokenRequirement and expose a property or constructor. 在该构造函数或属性中,使用 Properties 属性值作为集合中的索引将对等身份验证模式添加到 PeerAuthenticationMode 集合中。Within the constructor or property add the peer authentication mode to the Properties collection using the value of the PeerAuthenticationMode property as an index into the collection.