public method O2GSession.SessionStatusChanged

Brief

This event occurs when the session status is changed.

Details

This event could be used instead of IO2GSessionStatus.onSessionStatusChanged for monitoring changing of session status.
Subscribe to this event before login.

SessionStatusChanged [hide]

 session.SessionStatusChanged += new EventHandler<SessionStatusEventArgs>(session_SessionStatusChanged);
 //...
 
 static void session_SessionStatusChanged(object sender, SessionStatusEventArgs e)
 {
     O2GSessionStatusCode status = e.SessionStatus;
     //...
 }

Declared in O2GSession

back