DDETopic.new Method [AX 2012]
Initializes a new instance of the Object class.
public void new(DDEServer Server, str Topic)
Run On
ClientParameters
- Server
- Type: DDEServer Class
A DDE server that was previously instantiated.
- Topic
- Type: str
The name of the topic that this class implements.
The DDETopic class is the base class that handles DDE transactions in a Microsoft Dynamics AX DDE server application.
This is an abstract class that contains virtual member functions that correspond to each DDE transaction type. You should overload these member functions in a derived class, one for each topic that the system implements. The derived class is where all the programmer-defined code should reside.
The base implementation replies with a negative response on all DDE transactions. Therefore, the programmer must overload one or more of the methods in the following table.
|
ddeTopic::Connect |
Optional |
|
ddeTopic::Disconnect |
Optional |
|
ddeTopic::Execute |
Required if the topic should support the XTYP_EXECUTE transaction |
|
ddeTopic::Poke |
Required if the topic should support the XTYP_POKE transaction |
|
ddeTopic::Request |
Required if the topic should support the XTYP_REQUEST transaction |