This sends a command to the server application.
Parameters
- command
- The command to be sent to the server application.
- timeout
- The amount of time in milliseconds to wait for a response.
Remarks
This operation will timeout if the conversation is paused.
Exceptions
Exception Type | Condition |
---|---|
ArgumentException | This is thown when command exceeds 255 characters or timeout is negative. |
ArgumentNullException | This is thrown when command is a null reference. |
InvalidOperationException | This is thrown when the client is not connected. |
DdeException | This is thrown when the server does not process the command. |
See Also
DdeClient Class | NDde.Client Namespace