次の方法で共有


MSMQQueue.QueueInfo (Compact 2013)

3/26/2014

This read-only property retrieves the stored settings of the MSMQQueueInfo object used to open the queue.

Syntax

HRESULT get_QueueInfo( 
  MSMQQueue** ppinfo 
);

Parameters

  • ppinfo
    Stored settings of MSMQInfo object

Return Value

The following table describes the common return values.

Value

Description

S_OK

Success

E_INVALIDARG

One or more arguments are invalid

E_NOTIMPL

The function contains no implementation

E_OUTOFMEMORY

Out of memory

Remarks

The QueueInfo property is used to access the settings of the MSMQQueueInfo object that were used to open the queue. These settings are stored in the directory service for public queues, and on the local computer for private queues.

This property is useful when you want access the settings of the MSMQQueueInfo object after the MSMQQueue object is passed as a parameter to another function or routine.

The MSMQQueueInfo object used to open the queue and the MSMQQueueInfo object of the QueueInfo property are two separate instances that represent the same queue.

Requirements

Header

mqoai.h

Library

mqoa.lib

See Also

Reference

MSMQQueue