Esempio n. 1
0
		/// <summary>
		/// This method is used to reset the session job to its initial state.
		/// </summary>
		public override void Reset()
		{
			Job oldJob = this.mBaseJob as Job;
			if (oldJob != null)
			{
                lock (syncJobReturn)
				{
					mBaseJob = null;
                    delJobReturn(oldJob);

				}
			}
			signalComplete = null;
			mRSCallback = null;
			mProgressCallback = null;
            ObjectPool = null;

            delJobGet = null;
            delJobReturn = null;
		}
Esempio n. 2
0
		/// <summary>
		/// This method resets the object to its initial state.
		/// </summary>
		public override void Reset()
		{
			base.Reset();

            //mIsCallback = false;
			mCommand = null;
			mJobCallback = null;
			jobThread = null;
			mDJobType = DJobType.Command;
			token = null;
            //mSecMan = null;
			mChildJobDepth = 0;
			mTotalChildJobCount = 0;
			mJobCompletionType = SCMJobCompletionType.OnExit;

            delJobGet = null;
            delSecurityManagerJobGet = null;
            delCompletionJobGet = null;

            //if (childJobs != null)
            //    childJobs.Clear();
		}