IInteropBridge.SetApplicationMode method
Changes the application mode at runtime. This method requires the connector’s exchange model to implement both IExchangeReader and IExchangeWriter (i.e. the connector was initialized in ReadWrite mode). When called on a connector that only supports one mode, an InvalidOperationException is thrown.
public void SetApplicationMode(ApplicationMode applicationMode)
| parameter | description |
|---|---|
| applicationMode | The application mode to apply. See ApplicationMode for available options. |
Exceptions
| exception | condition |
|---|---|
| InvalidOperationException | Thrown when the connector was not initialized in ReadWrite mode. |
See Also
- interface IInteropBridge
- namespace Autodesk.DataExchange.UI.Core.Interfaces