예제 #1
0
		/// <summary>
		/// This method sets the job completion time out.
		/// </summary>
		/// <param name="completionType">The completion type.</param>
		public void SetCompletionType(SCMJobCompletionType completionType)
		{
			SetCompletionType(completionType,-1);
		}
예제 #2
0
		/// <summary>
		/// This method sets the job completion time out.
		/// </summary>
		/// <param name="completionType">The completion type.</param>
		/// <param name="Timeout">The time out.</param>
		public void SetCompletionType(SCMJobCompletionType completionType, int Timeout)
		{
			mJobCompletionType=completionType;

//			if (completionType==SCMJobCompletionType.SignalOrTimeout)
//			{
//
//			}
		}
예제 #3
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();
		}