예제 #1
0
        //------------------------------------------------------------------------------------Event Handler--------------------------------------------------------------------------------

        private void InterfaceChannel_Closed(object sender, EventArgs e)
        {
            IContextChannel ThisContext = (IContextChannel)sender;

            CallBackHandler.RemoveInterfaceConnection(ThisContext.SessionId);

            AstroData.UnsubscribeBySessionID(ThisContext.SessionId);
        }
예제 #2
0
        public void UnsubscribeBySessionID()
        {
            OperationContext context = OperationContext.Current;

            AstroData.UnsubscribeBySessionID(context.SessionId);
        }