MailMessageSecurity.AlgorithmSuite Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the security algorithm for the SOAP message.

Namespace:  Microsoft.ServiceModel.Channels.Mail
Assembly:  Microsoft.ServiceModel.Channels.Mail (in Microsoft.ServiceModel.Channels.Mail.dll)

Syntax

'Declaration
Public Property AlgorithmSuite As SecurityAlgorithmSuite
    Get
    Set
'Usage
Dim instance As MailMessageSecurity
Dim value As SecurityAlgorithmSuite

value = instance.AlgorithmSuite

instance.AlgorithmSuite = value
public SecurityAlgorithmSuite AlgorithmSuite { get; set; }
public:
property SecurityAlgorithmSuite^ AlgorithmSuite {
    SecurityAlgorithmSuite^ get ();
    void set (SecurityAlgorithmSuite^ value);
}
member AlgorithmSuite : SecurityAlgorithmSuite with get, set

Property Value

Type: System.ServiceModel.Security.SecurityAlgorithmSuite
A SecurityAlgorithmSuite object that represents the security algorithm for the message.

Exceptions

Exception Condition
ArgumentNullException

An attempt was made to set this property to nulla null reference (Nothing in Visual Basic).

Remarks

Instances of the SecurityAlgorithmSuite class are used to specify the cryptographic characteristics of the algorithms that are used when securing messages.

When SOAP message security has been enabled, the default security algorithm for the message is Basic256Rsa15.

.NET Framework Security

Platforms

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Compact Framework

Supported in: 3.5

See Also

Reference

MailMessageSecurity Class

MailMessageSecurity Members

Microsoft.ServiceModel.Channels.Mail Namespace