MessageQueueException.Message 屬性

定義

取得一個描述訊息佇列錯誤的值。Gets a value that describes the Message Queuing error.

public:
 virtual property System::String ^ Message { System::String ^ get(); };
public override string Message { get; }
member this.Message : string
Public Overrides ReadOnly Property Message As String

屬性值

產生這個 MessageQueueException 訊息佇列內部錯誤的描述。The description of the Message Queuing internal error that generated this MessageQueueException.

備註

當您取得此屬性時, 方法會嘗試抓取與MessageQueueErrorCode屬性相關聯的文字字串。When you get this property, the method attempts to retrieve the text string associated with the MessageQueueErrorCode property. 如果方法無法解讀已產生之訊息佇列的錯誤碼, Message屬性會取得值。 UnknownErrorIf the method is unable to interpret the error code that Message Queuing generated, the Message property gets the value UnknownError.

適用於

另請參閱