PeerTransportSecuritySettings.CredentialType 属性

定义

获取或设置用于对对等通道传输进行身份验证的凭据类型。

public:
 property System::ServiceModel::PeerTransportCredentialType CredentialType { System::ServiceModel::PeerTransportCredentialType get(); void set(System::ServiceModel::PeerTransportCredentialType value); };
public System.ServiceModel.PeerTransportCredentialType CredentialType { get; set; }
member this.CredentialType : System.ServiceModel.PeerTransportCredentialType with get, set
Public Property CredentialType As PeerTransportCredentialType

属性值

PeerTransportCredentialType

一个 PeerTransportCredentialType 枚举值,该值指定提供用于身份验证的凭据类型。

例外

凭据类型不是有效的 PeerTransportCredentialType 枚举值。

适用于