Constructor BlockUntilReconnectedOrTimeout
- Assembly
- WhalesSecret.TradeScriptLib.dll
BlockUntilReconnectedOrTimeout()
Creates a new instance of the object.
public BlockUntilReconnectedOrTimeout()
Remarks
Use this constructor to always wait for reconnection.
BlockUntilReconnectedOrTimeout(TimeSpan)
Creates a new instance of the object.
public BlockUntilReconnectedOrTimeout(TimeSpan preRequestTimeout)
Parameters
preRequestTimeout
TimeSpanTime period after which an exchange API request will time out unless an exchange connection is established again. Use InfiniteTimeSpan or BlockUntilReconnectedOrTimeout() constructor to create connection strategy that has no timeout and always waits until the connection is reestablished or the call is cancelled.