DdeContext Constructor (ISynchronizeInvoke)

NDde

Dynamic Data Exchange Library for .NET

DdeContext Constructor (ISynchronizeInvoke)

This initializes a new instance of the DdeContext class that uses the specified synchronizing object for execution.

public DdeContext(
   ISynchronizeInvoke synchronizingObject
);

Parameters

synchronizingObject
The synchronizing object to use for execution.

Remarks

This constructor is used when you want the context to use the specified synchronizing object for DDE message pumping. Since forms and controls implement ISynchronizeInvoke they can be used as the synchronizing object. In that case the windows application UI thread that is hosting the form or control is used.

Exceptions

Exception Type Condition
ArgumentNullException This is thrown when synchronizer is a null reference.

See Also

DdeContext Class | NDde.Advanced Namespace | DdeContext Constructor Overload List