Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


Disconnects your application from the currently connected session.

Namespace:  JollyGiant.Emulation
Assembly:  JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public StatusCode Disconnect()
Visual Basic (Declaration)
Public Function Disconnect As StatusCode
Visual C++
public:
virtual StatusCode Disconnect() sealed
JavaScript
function Disconnect();

Return Value

The StatusCode indicating the result of the operation.

This can be one of the following values:

Status codeDescription
WHLLOKThe disconnect is successful.
WHLLNOTCONNECTEDYour Windows HLLAPI application is not currently connected to a host session (see Connect(Object)).
WHLLSYSERRORThe disconnect failed due to a system error.


Implements

ISession..::.Disconnect()()()

Remarks


After calling this method, other methods that require a connected session are not valid and should not be called. Your application should disconnect from any connected sessions before exiting.

See Also


Session Class
JollyGiant.Emulation Namespace
Session..::.Connect(Object)

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.



  • No labels