Message.SentTime プロパティ
アセンブリ: System.Messaging (system.messaging.dll 内)



SentTime プロパティは、Message クラスのそのインスタンスが作成されたコンピュータのローカル時間に調整されます。このタイム ゾーンは、送信元キューおよび送信先キューと異なることがあります。

メッセージの SentTime プロパティの値を表示するコード例を次に示します。
// Display the value of the message's SentTime property. // To view this property value, the queue's // MessageReadPropertyFilter.SentTime property must be set to // true before the message is received. Console.WriteLine("Time sent from source queue: {0}", orderMessage.SentTime.ToString());
// Display the value of the message's SentTime property. // To view this property value, the queue's // MessageReadPropertyFilter.SentTime property must be set to // true before the message is received. Console::WriteLine("Time sent from source queue: {0}", orderMessage->SentTime.ToString());
// Display the value of the message's SentTime property. // To view this property value, the queue's // MessageReadPropertyFilter.SentTime property must be set to // true before the message is received. Console.WriteLine("Time sent from source queue: {0}", System.Convert.ToString(orderMessage.get_SentTime()));


Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からMessage.SentTime プロパティを検索する場合は、下記のリンクをクリックしてください。

- Message.SentTime プロパティのページへのリンク