DdeClient.StopAdvise Method

NDde

Dynamic Data Exchange Library for .NET

DdeClient.StopAdvise Method 

This terminates the advise loop for the specified item name.

public virtual void StopAdvise(
   String item,
   Int32 timeout
);

Parameters

item
An item name that has an active advise loop.
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 is a null reference.
InvalidOperationException This is thrown when the item is not being advised or when the client is not connected.
DdeException This is thrown when the server does not terminate the advise loop.

See Also

DdeClient Class | NDde.Client Namespace