xSession.pseudoSimMode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
pseudoSimMode() |
Determines whether delay simulation is turned on for the session, and enables delay simulation to be turned on or off. |
pseudoSimMode(Int32) |
pseudoSimMode()
Determines whether delay simulation is turned on for the session, and enables delay simulation to be turned on or off.
public:
static int pseudoSimMode();
public static int pseudoSimMode ();
static member pseudoSimMode : unit -> int
Public Shared Function pseudoSimMode () As Integer
Returns
An integer that indicates whether delay simulation is turned on. If the return value is zero, there is no delay simulation. If the return value is 1, delays are simulated only for application-controlled calls. If the return value is 2, delays are simulated for all calls.
Remarks
You can run pseudo simulations of remote connections from the System monitoring tool:
- On the toolbar, select Tools, point to Development tools, point to System monitoring, and then click the Remote connection tab
Applies to
pseudoSimMode(Int32)
public:
static int pseudoSimMode(int _simMode);
public static int pseudoSimMode (int _simMode);
static member pseudoSimMode : int -> int
Public Shared Function pseudoSimMode (_simMode As Integer) As Integer
Parameters
- _simMode
- Int32
Turns delay simulation on or off. Set to zero to turn simulation off. Set to 1 to simulate delays for application calls. Set to 2 to simulate delays for all calls.