PeerTransportSecurityElement.CredentialType 属性

定义

获取或设置特定类型的凭据的配置,这些凭据用于验证通过对等传输发送的消息。

public:
 property System::ServiceModel::PeerTransportCredentialType CredentialType { System::ServiceModel::PeerTransportCredentialType get(); void set(System::ServiceModel::PeerTransportCredentialType value); };
[System.Configuration.ConfigurationProperty("credentialType", DefaultValue=System.ServiceModel.PeerTransportCredentialType.Password)]
public System.ServiceModel.PeerTransportCredentialType CredentialType { get; set; }
[<System.Configuration.ConfigurationProperty("credentialType", DefaultValue=System.ServiceModel.PeerTransportCredentialType.Password)>]
member this.CredentialType : System.ServiceModel.PeerTransportCredentialType with get, set
Public Property CredentialType As PeerTransportCredentialType

属性值

包含特定类型凭据的 PeerTransportCredentialType 枚举值,这些凭据用于验证通过对等传输发送的消息。

属性

适用于