MessagePropertyFilter.SetDefaults メソッド
アセンブリ: System.Messaging (system.messaging.dll 内)
 構文
構文 解説
解説次の MessagePropertyFilter ブール値プロパティを true に設定するには、SetDefaults を使用します。次に示すプロパティは、通常 MessageQueue がやり取りする最も一般的なプロパティです。
-  AcknowledgeType 
-  AdministrationQueue 
-  LookupId 
-  MessageType 
-  ResponseQueue 
-  UseDeadLetterQueue 
-  UseJournalQueue 
SetDefaults は次の表に示すプロパティを既定値に設定します。
MessageQueue.MessageReadPropertyFilter プロパティは、SetDefaults の呼び出し対象である MessagePropertyFilter を表します。
 使用例
使用例SetDefaults メソッドを呼び出すコード例を次に示します。
// Set all of the queue's MessageReadPropertyFilter properties to their // defaults. queue.MessageReadPropertyFilter.SetDefaults();
 .NET Framework のセキュリティ
.NET Framework のセキュリティ プラットフォーム
プラットフォームWindows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
 バージョン情報
バージョン情報 参照
参照- MessagePropertyFilter.SetDefaults メソッドのページへのリンク

 
                             
                    


