Table of Contents

Constructor InvestorModeException

Namespace
ViiSync.AccountApi
Assembly
ViiSync.AccountApi.dll

InvestorModeException()

Create with the default message.

public InvestorModeException()

Remarks

MT5 equivalent

  • InvestorModeException.InvestorModeException() — full: thrown by every trade / password call on an investor session (client pre-check; the engine refuses the same commands server-side with TRADE_DISABLED)
  • InvestorModeException.InvestorModeException(string message) — full: thrown by every trade / password call on an investor session (client pre-check; the engine refuses the same commands server-side with TRADE_DISABLED)
  • InvestorModeException.InvestorModeException(string message, Exception innerException) — full: thrown by every trade / password call on an investor session (client pre-check; the engine refuses the same commands server-side with TRADE_DISABLED)

InvestorModeException(string)

Create with a message.

public InvestorModeException(string message)

Parameters

message string

Remarks

MT5 equivalent

  • InvestorModeException.InvestorModeException() — full: thrown by every trade / password call on an investor session (client pre-check; the engine refuses the same commands server-side with TRADE_DISABLED)
  • InvestorModeException.InvestorModeException(string message) — full: thrown by every trade / password call on an investor session (client pre-check; the engine refuses the same commands server-side with TRADE_DISABLED)
  • InvestorModeException.InvestorModeException(string message, Exception innerException) — full: thrown by every trade / password call on an investor session (client pre-check; the engine refuses the same commands server-side with TRADE_DISABLED)

InvestorModeException(string, Exception)

Create with a message and the underlying failure.

public InvestorModeException(string message, Exception innerException)

Parameters

message string
innerException Exception

Remarks

MT5 equivalent

  • InvestorModeException.InvestorModeException() — full: thrown by every trade / password call on an investor session (client pre-check; the engine refuses the same commands server-side with TRADE_DISABLED)
  • InvestorModeException.InvestorModeException(string message) — full: thrown by every trade / password call on an investor session (client pre-check; the engine refuses the same commands server-side with TRADE_DISABLED)
  • InvestorModeException.InvestorModeException(string message, Exception innerException) — full: thrown by every trade / password call on an investor session (client pre-check; the engine refuses the same commands server-side with TRADE_DISABLED)