You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Detect the OSC Exit before the Signout Prompt

Received Response
2
Views
1
Comments
edited Mar 31, 2016 5:22PM in UI Extensibility 1 comment

Content

Is there anyway to detect the OSC Exit immediately after clicking Exit in the console and before the console close down?  In the following code Notify() is only hit after we click Yes in the Signout prompt to Signout from OSC.

 

Code Snippet

               public class MyAddIn : IEventLogout
    {      
             public void Notify()
             {
                 //  Do something
              }             

            public bool Initialize(IGlobalContext context)
            {
               _globalContext = context;

                 return true;
              }
        }  

    } 
        

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!