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

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

Message クラスの AuthenticationProviderType プロパティは、メッセージのデジタル署名の生成に使用する、暗号プロバイダのタイプを指定します。AuthenticationProviderType は、一般には外部キューを使用するときに使われます。
Microsoft メッセージ キュー以外のキュー システムに外部キューが存在します。Microsoft メッセージ キューは、コネクタ アプリケーションを経由してこのようなキューと通信します。

AuthenticationProviderType プロパティの使用方法を示すコード例を次に示します。
// Set the queue's MessageReadPropertyFilter property to enable the // message's AuthenticationProviderType property. queue.MessageReadPropertyFilter.AuthenticationProviderType = 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 AuthenticationProviderType // property. Console.WriteLine("Message.AuthenticationProviderType: {0}", orderMessage.AuthenticationProviderType);
// Set the queue's MessageReadPropertyFilter property // to enable the message's // AuthenticationProviderType property. queue->MessageReadPropertyFilter-> AuthenticationProviderType = 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 // AuthenticationProviderType property. Console::WriteLine( "Message.AuthenticationProviderType: {0}", orderMessage->AuthenticationProviderType);
// Set the queue's MessageReadPropertyFilter property to enable the // message's AuthenticationProviderType property. queue.get_MessageReadPropertyFilter().set_AuthenticationProviderType(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 AuthenticationProviderType // property. Console.WriteLine("Message.AuthenticationProviderType: {0}", System.Convert.ToString(orderMessage.get_AuthenticationProviderType()));


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.AuthenticationProviderType プロパティ
MessageQueue
- MessagePropertyFilter.AuthenticationProviderType プロパティのページへのリンク