EncryptionAlgorithmWrapper 類別

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

繼承階層

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

命名空間:  Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
組件:  Microsoft.SqlServer.MSMQTask (在 Microsoft.SqlServer.MSMQTask.dll 中)

語法

'宣告
<ComVisibleAttribute(True)> _
Public Class EncryptionAlgorithmWrapper
'用途
Dim instance As EncryptionAlgorithmWrapper
[ComVisibleAttribute(true)]
public class EncryptionAlgorithmWrapper
[ComVisibleAttribute(true)]
public ref class EncryptionAlgorithmWrapper
[<ComVisibleAttribute(true)>]
type EncryptionAlgorithmWrapper =  class end
public class EncryptionAlgorithmWrapper

EncryptionAlgorithmWrapper 型別公開下列成員。

建構函式

  名稱 說明
公用方法 EncryptionAlgorithmWrapper Initializes a new instance of the EncryptionAlgorithmWrapper class.

上層

屬性

  名稱 說明
公用屬性 EncryptionAlgo Gets or sets the encryption algorithm used to encrypt the message body of a private message.

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

備註

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

重要事項重要事項

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.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。