System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / MessageQueueException Class / MessageQueueErrorCode Property



In This Topic
    MessageQueueErrorCode Property
    In This Topic
    Gets a value that indicates the error code associated with this exception.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property MessageQueueErrorCode As MessageQueueErrorCode
    'Usage
     
    
    Dim instance As MessageQueueException
    Dim value As MessageQueueErrorCode
     
    value = instance.MessageQueueErrorCode
    public MessageQueueErrorCode MessageQueueErrorCode {get;}
    public:
    property MessageQueueErrorCode MessageQueueErrorCode {
       MessageQueueErrorCode get();
    }

    Property Value

    A MessageQueueErrorCode that identifies the type of error Message Queuing generated.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also