Session Class [AX 2012]

Syntax

class Session extends xSession

Run On

Called

Methods

  Method Description
Gg821192.pubmethod(en-us,AX.60).gif AOSName Retrieves the name of the Application Object Server (AOS) that is responsible for servicing the session. (Inherited from xSession.)
Gg821192.pubmethod(en-us,AX.60).gif aosPort Gets a port of the Microsoft Dynamics AX Application Object Server (AOS) service.
Gg821192.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg821192.pubmethod(en-us,AX.60).gif clientComputerName Retrieves the network name of the client computer that is responsible for servicing the session. (Inherited from xSession.)
Gg821192.pubmethod(en-us,AX.60).gif clientKind Retrieves the type of the client that is responsible for servicing the session. (Inherited from xSession.)
Gg821192.pubmethod(en-us,AX.60).gif databaseSpid Retrieves a comma-separated list of active connection IDs. (Inherited from xSession.)
Gg821192.pubmethod(en-us,AX.60).gif documentationLanguage Retrieves the language ID of the documentation that is shown for the session. (Inherited from xSession.)
Gg821192.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg821192.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg821192.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg821192.pubmethod(en-us,AX.60).gif interfaceLanguage Retrieves the ID for the language that is used on menus and dialogs for the session. (Inherited from xSession.)
Gg821192.pubmethod(en-us,AX.60).gif isWorkerThread Determines whether the session is a worker thread. (Inherited from xSession.)
Gg821192.pubmethod(en-us,AX.60).gif loginDate Retrieves the date on which the user of the session logged on. (Inherited from xSession.)
Gg821192.pubmethod(en-us,AX.60).gif loginDateTime (Inherited from xSession.)
Gg821192.pubmethod(en-us,AX.60).gif loginTime Retrieves the time at which the user of the session logged on. (Inherited from xSession.)
Gg821192.pubmethod(en-us,AX.60).gif masterSessionId Retrieves the master session ID for the session that the xSession object covers. (Inherited from xSession.)
Gg821192.pubmethod(en-us,AX.60).gif new Instantiates the xSession object, either for current session or for the session ID passed in as a parameter. (Inherited from xSession.)
Gg821192.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg821192.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg821192.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg821192.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg821192.pubmethod(en-us,AX.60).gif serverId (Inherited from xSession.)
Gg821192.pubmethod(en-us,AX.60).gif sessionId Retrieves the session ID of the session that the xSession object covers. (Inherited from xSession.)
Gg821192.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg821192.pubmethod(en-us,AX.60).gif terminate Terminates the session ID that the object was instantiated with. (Inherited from xSession.)
Gg821192.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg821192.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg821192.pubmethod(en-us,AX.60).gif userId Retrieves the user ID that this session is logged on with. (Inherited from xSession.)
Gg821192.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg821192.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg821192.pubmethod(en-us,AX.60).gif Gg821192.static(en-us,AX.60).gif ::aosClientMode Gets the client mode of the AOS service.
Gg821192.pubmethod(en-us,AX.60).gif Gg821192.static(en-us,AX.60).gif ::getAOSInstance Gets an AOS instance name.
Gg821192.pubmethod(en-us,AX.60).gif Gg821192.static(en-us,AX.60).gif ::getAOSPort Gets a port of the AOS service.
Gg821192.pubmethod(en-us,AX.60).gif Gg821192.static(en-us,AX.60).gif ::isBusinessConnector Indicates whether the client kind is a business connector.
Gg821192.pubmethod(en-us,AX.60).gif Gg821192.static(en-us,AX.60).gif ::isServer Indicates whether the client type is a server.

Top

Inheritance Hierarchy

Object Class
  xSession Class
    Session Class