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



アプリケーションだけに使用される Authenticated プロパティは、メッセージとの対話中に認証が要求されているかどうかを調べます。メッセージがキューの中にあれば、そのメッセージは認証されています。逆に、Authenticated プロパティが true の場合、受信側キュー マネージャはメッセージの受信時にそのメッセージを認証しています。
メッセージの認証に失敗したかどうかをメッセージのプロパティを参照することで判断することはできません。メッセージ キューは、キューに配信される前に認証に失敗したメッセージを破棄します。しかし、配信の失敗によってメッセージがキューに到達できなかった場合に受信確認メッセージを送信するように要求できます。

メッセージの Authenticated プロパティの値を表示するコード例を次に示します。
// Display the value of the message's Authenticated property. // To view this property value, the queue's // MessageReadPropertyFilter.Authenticated property must be set to // true before the message is received. Console.WriteLine("Authentication requested for this message: {0}", orderMessage.Authenticated.ToString());
// Display the value of the message's Authenticated property. // To view this property value, the queue's // MessageReadPropertyFilter.Authenticated property must be set to // true before the message is received. Console::WriteLine("Authentication requested for this message: {0}", orderMessage->Authenticated.ToString());
// Display the value of the message's Authenticated property. // To view this property value, the queue's // MessageReadPropertyFilter.Authenticated property must be set to // true before the message is received. Console.WriteLine("Authentication requested for this message: {0}", System.Convert.ToString(orderMessage.get_Authenticated()));


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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


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

- Message.Authenticated プロパティのページへのリンク