Partager via


Classe EncryptionAlgorithmWrapper

Describes the type of encryption, if any, that the Message Queue task uses.

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
Assembly :  Microsoft.SqlServer.MSMQTask (dans Microsoft.SqlServer.MSMQTask.dll)

Syntaxe

'Déclaration
<ComVisibleAttribute(True)> _
Public Class EncryptionAlgorithmWrapper
'Utilisation
Dim instance As EncryptionAlgorithmWrapper
[ComVisibleAttribute(true)]
public class EncryptionAlgorithmWrapper
[ComVisibleAttribute(true)]
public ref class EncryptionAlgorithmWrapper
[<ComVisibleAttribute(true)>]
type EncryptionAlgorithmWrapper =  class end
public class EncryptionAlgorithmWrapper

Notes

This class uses the EncryptionAlgorithm enumeration, which is located in the .NET Framework Class Library, and is a member of the System.Messaging namespace.

Important

When configuring the Message Queue task to send messages, you can use one of the encryption algorithms, either Rc2 or Rc4, that are currently supported by Message Queuing (also known as MSMQ) to encrypt the message. Both of these encryption algorithms are now considered cryptographically weak compared to newer algorithms, which Message Queuing does not yet support. Therefore, you should consider your cryptography needs carefully when sending messages using the Message Queue task.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.SqlServer.Dts.Tasks.MessageQueueTask..::..EncryptionAlgorithmWrapper

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.