DdeClient.BeginExecute Method

NDde

Dynamic Data Exchange Library for .NET

DdeClient.BeginExecute Method 

This begins an asynchronous operation to send a command to the server application.

public virtual IAsyncResult BeginExecute(
   String command,
   AsyncCallback callback,
   Object state
);

Parameters

command
The command to be sent to the server application.
callback
The delegate to invoke when this operation completes.
state
An application defined data object to associate with this operation.

Return Value

An IAsyncResult object for this operation.

Exceptions

Exception Type Condition
ArgumentException This is thown when command exceeds 255 characters.
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 asynchronous operation could not begin.

See Also

DdeClient Class | NDde.Client Namespace