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();


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 メソッドのページへのリンク