Discuss this help topic in SecureBlackbox Forum

TElSSHBaseClient.ServerCloseReason

TElSSHBaseClient     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Returns textual description sent by the server before closing the connection.

Declaration

[C#]
    string ServerCloseReason;

[VB.NET]
    Property ServerCloseReason As String

[Pascal]
    property ServerCloseReason : string;

[C++]
    void get_ServerCloseReason(std::string &OutResult);

[PHP]
    string get_ServerCloseReason()

[Java]
    String getServerCloseReason();

Description

Check this property when OnCloseConnection event has been fired. It returns the text the server has sent just before closing connection. Usually it contains the error description if the connection was broken by an error. This property returns an empty string if the server response was empty.

See also:     OnCloseConnection    

Discuss this help topic in SecureBlackbox Forum