This begins an asynchronous operation to request data using the specified item name.
public virtual IAsyncResult BeginRequest(
String item,
Int32 format,
AsyncCallback callback,
Object state
);
String item,
Int32 format,
AsyncCallback callback,
Object state
);
Parameters
- item
- An item name supported by the current conversation.
- format
- The format of the data to return.
- 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 item exceeds 255 characters. |
| ArgumentNullException | This is thrown when item 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