예제 #1
0
        public void SetDebugScriptInfo(DebugScriptInfo info)
        {
            OnScriptAdded(info);
            callback = OperationContext.Current.GetCallbackChannel <IWCFDebugServiceDuplexCallback>();

            //Callback.SetGlobal("some global value");

            //for dev: set timeout to something more useful
            //it actually does not matter; once this connection is
            //gone, the tabpage more or less is useless.
            ((IContextChannel)OperationContext.Current.Channel).OperationTimeout = new TimeSpan(0, 0, 2);
        }
예제 #2
0
        public void SetDebugScriptInfo(DebugScriptInfo info)
        {
            OnScriptAdded(info);
            callback = OperationContext.Current.GetCallbackChannel<IWCFDebugServiceDuplexCallback>();

            //Callback.SetGlobal("some global value");

            //for dev: set timeout to something more useful
            //it actually does not matter; once this connection is
            //gone, the tabpage more or less is useless.
            ((IContextChannel)OperationContext.Current.Channel).OperationTimeout = new TimeSpan(0, 0, 2) ;
        }