mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 20:56:02 +00:00
spelling: debug, tracer, ...
This commit is contained in:
1 parent
d3f4eac6c1
commit
2f980faac5
8 files changed
+21
-21
No files matched your search
+3
-3
@@ -212,7 +212,7 @@ namespace Microsoft.PowerShell.Workflow
|
||||
}
|
||||
catch (System.Management.Automation.RuntimeException)
|
||||
{
|
||||
_tracer.WriteMessage("PSW Conn: Disconnected Remote Runspace is not avialable. Runspace Instance Id: " + runspaceId.ToString());
|
||||
_tracer.WriteMessage("PSW Conn: Disconnected Remote Runspace is not available. Runspace Instance Id: " + runspaceId.ToString());
|
||||
}
|
||||
|
||||
if (runspaces != null)
|
||||
@@ -258,7 +258,7 @@ namespace Microsoft.PowerShell.Workflow
|
||||
}
|
||||
catch (PSInvalidOperationException)
|
||||
{
|
||||
_tracer.WriteMessage("PSW Conn: Disconnected PowerShell is not avialable. Runspace Instance Id: " + foundRunspace.InstanceId.ToString());
|
||||
_tracer.WriteMessage("PSW Conn: Disconnected PowerShell is not available. Runspace Instance Id: " + foundRunspace.InstanceId.ToString());
|
||||
}
|
||||
finally
|
||||
{
|
||||
@@ -280,7 +280,7 @@ namespace Microsoft.PowerShell.Workflow
|
||||
// Runspace.Close can throw exceptions when Server process has exited or runspace is invalid.
|
||||
// Ignoring all exceptions.
|
||||
//
|
||||
_tracer.WriteMessage("PSW Conn: Disconnected PowerShell is not avialable. Runspace Instance Id: " + foundRunspace.InstanceId.ToString());
|
||||
_tracer.WriteMessage("PSW Conn: Disconnected PowerShell is not available. Runspace Instance Id: " + foundRunspace.InstanceId.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+3
-3
@@ -2849,7 +2849,7 @@ namespace Microsoft.PowerShell.Activities
|
||||
{
|
||||
System.Management.Automation.PowerShell commandToRun = implementationContext.PowerShellInstance;
|
||||
actionTracer.WriteMessage(String.Format(CultureInfo.InvariantCulture,
|
||||
"Begining action to run command {0}.", commandToRun));
|
||||
"Beginning action to run command {0}.", commandToRun));
|
||||
|
||||
if (CheckForCancel(psActivityContext)) return;
|
||||
|
||||
@@ -4322,7 +4322,7 @@ namespace Microsoft.PowerShell.Activities
|
||||
catch (Exception)
|
||||
{
|
||||
// Exception setting variables, try using proxy
|
||||
tracer.WriteMessage("Setting varibles in remote runspace failed using script, trying with proxy");
|
||||
tracer.WriteMessage("Setting variables in remote runspace failed using script, trying with proxy");
|
||||
|
||||
try
|
||||
{
|
||||
@@ -6130,7 +6130,7 @@ namespace Microsoft.PowerShell.Activities
|
||||
var authLevel = GetUbiquitousParameter<AuthenticationLevel>("PSAuthenticationLevel", parameterDefaults);
|
||||
command.AddParameter("Authentication", authLevel);
|
||||
Tracer.WriteMessage(String.Format(CultureInfo.InvariantCulture,
|
||||
"PowerShell activity ID={0}: Setting parameter {1} to {2} from ubiquitious parameters.",
|
||||
"PowerShell activity ID={0}: Setting parameter {1} to {2} from ubiquitous parameters.",
|
||||
context.ActivityInstanceId, "AuthenticationLevel", authLevel));
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -987,7 +987,7 @@ namespace Microsoft.PowerShell.Workflow
|
||||
/// <returns>Returns the collection of workflow instances.</returns>
|
||||
internal IEnumerable<Job2> GetJobs(WorkflowFilterTypes type, Dictionary<string, object> filters)
|
||||
{
|
||||
Tracer.WriteMessage(Facility + "Geting workflow instances based on filters");
|
||||
Tracer.WriteMessage(Facility + "Getting workflow instances based on filters");
|
||||
return GetJobs(_wfJobTable.Values, type, filters);
|
||||
}
|
||||
|
||||
@@ -1315,7 +1315,7 @@ namespace Microsoft.PowerShell.Workflow
|
||||
}
|
||||
catch (ObjectDisposedException)
|
||||
{
|
||||
Tracer.WriteMessage(Facility, "RemoveJob", job.PSWorkflowInstance.Id, "Worklfow Job is already disposed. so removing it.");
|
||||
Tracer.WriteMessage(Facility, "RemoveJob", job.PSWorkflowInstance.Id, "Workflow Job is already disposed. so removing it.");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1344,7 +1344,7 @@ namespace Microsoft.PowerShell.Workflow
|
||||
|
||||
lock (lockObjects.GetLockObject(instanceId))
|
||||
{
|
||||
Tracer.WriteMessage(Facility + "Forgeting job instance with id: " + instanceId);
|
||||
Tracer.WriteMessage(Facility + "Forgetting job instance with id: " + instanceId);
|
||||
|
||||
PSWorkflowJob job = GetJob(instanceId);
|
||||
|
||||
|
||||
Reference in new issue
Block a user