共用方式為


BasicHttpMessageSecurity.AlgorithmSuite 屬性

定義

指定和 BasicHttpMessageSecurity一起使用的演算法套件。

public:
 property System::ServiceModel::Security::SecurityAlgorithmSuite ^ AlgorithmSuite { System::ServiceModel::Security::SecurityAlgorithmSuite ^ get(); void set(System::ServiceModel::Security::SecurityAlgorithmSuite ^ value); };
public System.ServiceModel.Security.SecurityAlgorithmSuite AlgorithmSuite { get; set; }
member this.AlgorithmSuite : System.ServiceModel.Security.SecurityAlgorithmSuite with get, set
Public Property AlgorithmSuite As SecurityAlgorithmSuite

屬性值

SecurityAlgorithmSuite

SecurityAlgorithmSuite。 預設值是 Basic256

範例

SecurityAlgorithmSuite sas = msgSecurity.AlgorithmSuite;
BasicHttpMessageCredentialType credType = msgSecurity.ClientCredentialType;
Dim sas As SecurityAlgorithmSuite = msgSecurity.AlgorithmSuite
Dim credType As BasicHttpMessageCredentialType = msgSecurity.ClientCredentialType

備註

傳回的 SecurityAlgorithmSuite 物件含有許多可用來指定在特定情況下使用之安全性演算法的屬性。 它還會描述服務的各種安全性功能。

適用於