MessagePropertyFilter.SetAll メソッド
アセンブリ: System.Messaging (system.messaging.dll 内)
構文
解説すべてのブール値の MessagePropertyFilter プロパティを true に設定するには、SetAll を使います。これにより、メッセージの受信時にすべてのメッセージ プロパティが取得されます。ただし、SetAll は、DefaultBodySize、DefaultExtensionSize、または DefaultLabelSize の値には影響しません。
SetAll を呼び出した後、それぞれのフィルタ値を false に設定すると、メッセージの受信時に取得されるプロパティを制限できます。
使用例// Set all of the queue's MessageReadPropertyFilter Boolean properties // to true. queue.MessageReadPropertyFilter.SetAll();
.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 クラス
MessagePropertyFilter メンバ
System.Messaging 名前空間
ClearAll
SetDefaults
MessagePropertyFilter
- MessagePropertyFilter.SetAll メソッドのページへのリンク