This sends data to the server application.
Parameters
- item
- An item name supported by the current conversation.
- data
- The data to send.
- format
- The format of the data.
- 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 item exceeds 255 characters or timeout is negative. |
| ArgumentNullException | This is thrown when item or data 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 data. |
See Also
DdeClient Class | NDde.Client Namespace | DdeClient.Poke Overload List