MessageQueueException.Message Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a value that describes the Message Queuing error.

Namespace:   System.Messaging
Assembly:  System.Messaging (in System.Messaging.dll)

public override string Message { get; }

Property Value

Type: System.String

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

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.

.NET Framework
Available since 1.1
Return to top