| PowerShellScript Constructor |
Inititalizes the PowerShellScript environment.
Namespace:
Galactic.PowerShell
Assembly:
Galactic.PowerShell (in Galactic.PowerShell.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public PowerShellScript(
EventLog log,
RunspacePool pool
)
Public Sub New (
log As EventLog,
pool As RunspacePool
)
public:
PowerShellScript(
EventLog^ log,
RunspacePool^ pool
)
new :
log : EventLog *
pool : RunspacePool -> PowerShellScript
Parameters
- log
- Type: Galactic.EventLogEventLog
An event log to log exceptions to. May be null if no exception logging is desired. - pool
- Type: RunspacePool
A runspace pool for the scripting environment to use. May be null if a new Runspace pool is desired.
See Also