@@ -767,7 +767,7 @@ public override void StartJob()
767767 _tracer . WriteMessage ( TraceClassName , "StartJob" , Guid . Empty , this , "Entering method" , null ) ;
768768 s_structuredTracer . BeginContainerParentJobExecution ( InstanceId ) ;
769769
770- // If parent contains no child jobs then this method will hang . Throw error in this case.
770+ // If parent contains no child jobs then this method will not respond . Throw error in this case.
771771 if ( ChildJobs . Count == 0 )
772772 {
773773 throw PSTraceSource . NewInvalidOperationException ( RemotingErrorIdStrings . JobActionInvalidWithNoChildJobs ) ;
@@ -951,7 +951,7 @@ public override void ResumeJob()
951951 AssertNotDisposed ( ) ;
952952 _tracer . WriteMessage ( TraceClassName , "ResumeJob" , Guid . Empty , this , "Entering method" , null ) ;
953953
954- // If parent contains no child jobs then this method will hang . Throw error in this case.
954+ // If parent contains no child jobs then this method will not respond . Throw error in this case.
955955 if ( ChildJobs . Count == 0 )
956956 {
957957 throw PSTraceSource . NewInvalidOperationException ( RemotingErrorIdStrings . JobActionInvalidWithNoChildJobs ) ;
@@ -1188,7 +1188,7 @@ public override void UnblockJob()
11881188 AssertNotDisposed ( ) ;
11891189 _tracer . WriteMessage ( TraceClassName , "UnblockJob" , Guid . Empty , this , "Entering method" , null ) ;
11901190
1191- // If parent contains no child jobs then this method will hang . Throw error in this case.
1191+ // If parent contains no child jobs then this method will not respond . Throw error in this case.
11921192 if ( ChildJobs . Count == 0 )
11931193 {
11941194 throw PSTraceSource . NewInvalidOperationException ( RemotingErrorIdStrings . JobActionInvalidWithNoChildJobs ) ;
@@ -1353,7 +1353,7 @@ private void SuspendJobInternal(bool? force, string reason)
13531353 AssertNotDisposed ( ) ;
13541354 _tracer . WriteMessage ( TraceClassName , "SuspendJob" , Guid . Empty , this , "Entering method" , null ) ;
13551355
1356- // If parent contains no child jobs then this method will hang . Throw error in this case.
1356+ // If parent contains no child jobs then this method will not respond . Throw error in this case.
13571357 if ( ChildJobs . Count == 0 )
13581358 {
13591359 throw PSTraceSource . NewInvalidOperationException ( RemotingErrorIdStrings . JobActionInvalidWithNoChildJobs ) ;
@@ -1526,7 +1526,7 @@ private void StopJobInternal(bool? force, string reason)
15261526 AssertNotDisposed ( ) ;
15271527 _tracer . WriteMessage ( TraceClassName , "StopJob" , Guid . Empty , this , "Entering method" , null ) ;
15281528
1529- // If parent contains no child jobs then this method will hang . Throw error in this case.
1529+ // If parent contains no child jobs then this method will not respond . Throw error in this case.
15301530 if ( ChildJobs . Count == 0 )
15311531 {
15321532 throw PSTraceSource . NewInvalidOperationException ( RemotingErrorIdStrings . JobActionInvalidWithNoChildJobs ) ;
0 commit comments