MessagePropertyFilter.EncryptionAlgorithm プロパティ
アセンブリ: System.Messaging (system.messaging.dll 内)

Dim instance As MessagePropertyFilter Dim value As Boolean value = instance.EncryptionAlgorithm instance.EncryptionAlgorithm = value
/** @property */ public boolean get_EncryptionAlgorithm () /** @property */ public void set_EncryptionAlgorithm (boolean value)
public function get EncryptionAlgorithm () : boolean public function set EncryptionAlgorithm (value : boolean)
Message.EncryptionAlgorithm 情報を受信する場合は true。それ以外の場合は false。既定値は false です。

メッセージがプライベートの場合、メッセージは送信される前に暗号化され、受信されるときに解読されます。Message クラスの EncryptionAlgorithm プロパティは、プライベート メッセージの本文を暗号化するのに使用する、アルゴリズムを指定します。

EncryptionAlgorithm プロパティの使用方法を示すコード例を次に示します。
// Set the queue's MessageReadPropertyFilter property to enable the // message's EncryptionAlgorithm property. queue.MessageReadPropertyFilter.EncryptionAlgorithm = true; // Peek at the message. Time out after ten seconds in case the message // was not delivered. orderMessage = queue.Peek(TimeSpan.FromSeconds(10.0)); // Display the value of the message's EncryptionAlgorithm property. Console.WriteLine("Message.EncryptionAlgorithm: {0}", orderMessage.EncryptionAlgorithm);
// Set the queue's MessageReadPropertyFilter property // to enable the message's EncryptionAlgorithm property. queue->MessageReadPropertyFilter-> EncryptionAlgorithm = true; // Peek at the message. Time out after ten seconds // in case the message was not delivered. orderMessage = queue->Peek(TimeSpan::FromSeconds(10.0)); // Display the value of the message's // EncryptionAlgorithm property. Console::WriteLine("Message.EncryptionAlgorithm: {0}", orderMessage->EncryptionAlgorithm);
// Set the queue's MessageReadPropertyFilter property to enable the // message's EncryptionAlgorithm property. queue.get_MessageReadPropertyFilter().set_EncryptionAlgorithm(true); // Peek at the message. Time out after ten seconds in case the message // was not delivered. orderMessage = queue.Peek(TimeSpan.FromSeconds(10.0)); // Display the value of the message's EncryptionAlgorithm property. Console.WriteLine("Message.EncryptionAlgorithm: {0}", System.Convert.ToString(orderMessage.get_EncryptionAlgorithm()));


Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


MessagePropertyFilter クラス
MessagePropertyFilter メンバ
System.Messaging 名前空間
Message.EncryptionAlgorithm プロパティ
MessageQueue
Weblioに収録されているすべての辞書からMessagePropertyFilter.EncryptionAlgorithm プロパティを検索する場合は、下記のリンクをクリックしてください。

- MessagePropertyFilter.EncryptionAlgorithm プロパティのページへのリンク