ncadg_mq attribute
The ncadg_mq keyword identifies Microsoft Message Queuing Services (MSMQ) as the transport protocol for the endpoint. This protocol is obsolete and should not be used in new applications.
endpoint("ncadg_mq:server-name")
Parameters
-
server-name
-
Specifies the name of the server, or host, computer. The name is a character string and may be a fully qualified domain name.
Remarks
In order to use the ncadg_mq transport protocol, the MSMQ components must be fully installed and the client and server systems must be reachable through the MQ protocols.
The ncadg_mq protocol does not support dynamic endpoints or broadcast calls. As with other datagram protocols, ncadg_mq does not support callbacks; any functions using the callback attribute will fail.
Note
This protocol family is not supported in Windows XP.
Examples
The syntax of the message-queue protocol is defined independently of the IDL specification. The MIDL compiler performs some syntax checking but does not guarantee that the endpoint specification is correct. Some errors may be reported at run time rather than during compilation.
[
uuid(12345678-4000-2006-0000-20000000001a),
version(1.1),
endpoint("ncadg_mq:rainier")
]
interface iface
{
// Interface definition statements.
}
See also