MessagePropertyFilter.AcknowledgeType プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > MessagePropertyFilter.AcknowledgeType プロパティの意味・解説 

MessagePropertyFilter.AcknowledgeType プロパティ

メッセージ受信またはピークするときに Message.AcknowledgeType プロパティ情報取得するかどうかを示す値を取得または設定します

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

Dim instance As MessagePropertyFilter
Dim value As Boolean

value = instance.AcknowledgeType

instance.AcknowledgeType = value
public bool AcknowledgeType { get;
 set; }
public:
property bool AcknowledgeType {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_AcknowledgeType ()

/** @property */
public void set_AcknowledgeType (boolean value)
public function get AcknowledgeType
 () : boolean

public function set AcknowledgeType
 (value : boolean)

プロパティ
Message.AcknowledgeType 情報受信する場合trueそれ以外場合false既定値true です。

解説解説
使用例使用例

AcknowledgeType プロパティ使用方法を示すコード例次に示します

// Set the queue's MessageReadPropertyFilter property to enable the
// message's AcknowledgeType property.
queue.MessageReadPropertyFilter.AcknowledgeType = true;

// Peek at the message. Time out after ten seconds in case the message
// was not delivered.
orderMessage = queue.Peek(TimeSpan.FromSeconds(10.0)); 

// Display the value of the message's AcknowledgeType property.
Console.WriteLine("Message.AcknowledgeType: {0}",
    orderMessage.AcknowledgeType);
// Set the queue's MessageReadPropertyFilter property 
// to enable the message's AcknowledgeType property.
queue->MessageReadPropertyFilter->
    AcknowledgeType = true;

// Peek at the message. Time out after ten seconds 
// in case the message was not delivered.
orderMessage = queue->Peek(TimeSpan::FromSeconds(10.0));

// Display the value of the message's 
// AcknowledgeType property.
Console::WriteLine("Message.AcknowledgeType: {0}", 
    orderMessage->AcknowledgeType);

// Set the queue's MessageReadPropertyFilter property to enable the
// message's AcknowledgeType property.
queue.get_MessageReadPropertyFilter().set_AcknowledgeType(true);
// Peek at the message. Time out after ten seconds in case the message
// was not delivered.
orderMessage = queue.Peek(TimeSpan.FromSeconds(10.0));
// Display the value of the message's AcknowledgeType property.
Console.WriteLine("Message.AcknowledgeType: {0}", 
    System.Convert.ToString(orderMessage.get_AcknowledgeType()));
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
MessagePropertyFilter クラス
MessagePropertyFilter メンバ
System.Messaging 名前空間
Message.AcknowledgeType プロパティ
Acknowledgment
MessageQueue



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「MessagePropertyFilter.AcknowledgeType プロパティ」の関連用語

MessagePropertyFilter.AcknowledgeType プロパティのお隣キーワード
検索ランキング

   

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



MessagePropertyFilter.AcknowledgeType プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS