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

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

Message.SourceMachine プロパティ

メッセージの送信元のコンピュータ取得します

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

Dim instance As Message
Dim value As String

value = instance.SourceMachine
public string SourceMachine { get;
 }
public:
property String^ SourceMachine {
    String^ get ();
}
/** @property */
public String get_SourceMachine ()

プロパティ
メッセージの送信元のコンピュータの名前。

例外例外
例外種類条件

InvalidOperationException

メッセージ送信されていません。このプロパティは、キューから取得したメッセージでだけ読み込むことができます

または

フィルタ処理されたメッセージ キューが、SourceMachine プロパティ無視します。

MessageQueueException

コンピュータ情報またはディレクトリ サービスアクセスできません。

解説解説

SourceMachine プロパティ書式では、先頭2 つスラッシュ (\\) は不要です。たとえば、myServer有効な SourceMachine です。

使用例使用例

メッセージSourceMachine プロパティの値を表示するコード例次に示します

// Display the value of the message's SourceMachine property.
// To view this property value, the queue's
// MessageReadPropertyFilter.SourceMachine property must be set to
// true before the message is received.
Console.WriteLine("Source Machine: {0}", orderMessage.SourceMachine);
// Display the value of the message's SourceMachine property.
// To view this property value, the queue's
// MessageReadPropertyFilter.SourceMachine property must be set to
// true before the message is received.
Console::WriteLine("Source Machine: {0}", orderMessage->SourceMachine);
// Display the value of the message's SourceMachine property.
// To view this property value, the queue's
// MessageReadPropertyFilter.SourceMachine property must be set to
// true before the message is received.
Console.WriteLine("Source Machine: {0}", 
    System.Convert.ToString(orderMessage.get_SourceMachine()));
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」からMessage.SourceMachine プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からMessage.SourceMachine プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からMessage.SourceMachine プロパティ を検索

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

辞書ショートカット

すべての辞書の索引

「Message.SourceMachine プロパティ」の関連用語

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

   

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



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

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

©2025 GRAS Group, Inc.RSS