DdeClient.TryRequest Method

NDde

Dynamic Data Exchange Library for .NET

DdeClient.TryRequest Method 

This requests data using the specified item name.

public virtual int TryRequest(
   String item,
   Int32 format,
   Int32 timeout,
   out Byte[]& data
);

Parameters

item
An item name supported by the current conversation.
format
The format of the data to return.
timeout
The amount of time in milliseconds to wait for a response.
data
The data returned by the server application.

Return Value

Zero if the operation succeeded or non-zero if the operation failed.

Remarks

This operation will timeout if the conversation is paused.

See Also

DdeClient Class | NDde.Client Namespace