MessagePropertyFilter.ClearAll メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > MessagePropertyFilter.ClearAll メソッドの意味・解説 

MessagePropertyFilter.ClearAll メソッド

メッセージの受信時にメッセージ プロパティが取得されないように、すべてのブール フィルタ値を false に設定します。

名前空間: System.Messaging
アセンブリ: System.Messaging (system.messaging.dll 内)
構文構文

Dim instance As MessagePropertyFilter

instance.ClearAll
public void ClearAll ()
public:
void ClearAll ()
public void ClearAll ()
解説解説

すべてのブール値の MessagePropertyFilter プロパティを false に設定するには、ClearAll を使います。これにより、メッセージの受信時にメッセージ プロパティが取得されなくなります。ただし、ClearAll は、DefaultBodySize、DefaultExtensionSize、または DefaultLabelSize の値には影響しません。

メッセージに関連するデータを受信するためには、ClearAll を呼び出した後に、少なくとも 1 つのフィルタ プロパティを true に設定する必要があります。それぞれのプロパティを true に設定するか、SetDefaults または SetAll を呼び出すことができます。

使用例使用例

ClearAll メソッドを呼び出すコード例を次に示します。

// Set all of the queue's MessageReadPropertyFilter Boolean properties
// to false.
queue.MessageReadPropertyFilter.ClearAll();
// Set all of the queue's MessageReadPropertyFilter 
// Boolean properties to false.
queue->MessageReadPropertyFilter->ClearAll();

// Set all of the queue's MessageReadPropertyFilter Boolean properties
// to false.
queue.get_MessageReadPropertyFilter().ClearAll();
.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
MessagePropertyFilter クラス
MessagePropertyFilter メンバ
System.Messaging 名前空間
SetDefaults
SetAll
MessagePropertyFilter



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

MessagePropertyFilter.ClearAll メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



MessagePropertyFilter.ClearAll メソッドのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS