編輯

共用方式為


BasicHttpMessageSecurity.AlgorithmSuite Property

Definition

Specifies the algorithm suite to use with 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

Property Value

A SecurityAlgorithmSuite. The default value is Basic256.

Examples

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

Remarks

The SecurityAlgorithmSuite object that is returned contains numerous properties that specify security algorithms to use in specific conditions. It also describes various security capabilities of the service.

Applies to