MessageQueueException.Message Property

Definition

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

Property Value

The description of the Message Queuing internal error that generated this MessageQueueException.

Remarks

When you get this property, the method attempts to retrieve the text string associated with the MessageQueueErrorCode property. If the method is unable to interpret the error code that Message Queuing generated, the Message property gets the value UnknownError.

Applies to

See also