C# Class Microsoft.Azure.WebJobs.Script.Description.PowerShellFunctionInvoker

Inheritance: ScriptFunctionInvokerBase
ファイルを表示 Open project: Azure/azure-webjobs-sdk-script

Protected Methods

Method Description
InvokeCore ( object parameters, FunctionInvocationContext context ) : System.Threading.Tasks.Task

Private Methods

Method Description
ErrorDataAdded ( object sender, System.Management.Automation.DataAddedEventArgs e, Microsoft.Azure.WebJobs.Host.TraceWriter traceWriter ) : void

Event handler for the error stream.

GetErrorMessage ( string functioName, string scriptFilePath, ErrorRecord errorRecord ) : string
GetModuleFilePaths ( string rootScriptPath, string functionName ) : List
GetRelativePath ( string functionName, string moduleFile ) : string
GetScript ( string scriptFilePath ) : string
GetStackTrace ( string functionName, string scriptStackTrace, string fileName ) : string
InvokePowerShellScript ( string>.Dictionary envVars, Microsoft.Azure.WebJobs.Host.TraceWriter traceWriter ) : Task>
LogLoadedModules ( ) : void
OutputCollectionDataAdded ( object sender, System.Management.Automation.DataAddedEventArgs e, Microsoft.Azure.WebJobs.Host.TraceWriter traceWriter ) : void

Event handler for the output stream.

PowerShellFunctionInvoker ( ScriptHost host, FunctionMetadata functionMetadata, Collection inputBindings, Collection outputBindings, ITraceWriterFactory traceWriterFactory = null ) : System
SetRunspaceEnvironmentVariables ( System.Management.Automation.Runspaces.Runspace runspace, string>.IDictionary envVariables ) : void

Method Details

InvokeCore() protected method

protected InvokeCore ( object parameters, FunctionInvocationContext context ) : System.Threading.Tasks.Task
parameters object
context FunctionInvocationContext
return System.Threading.Tasks.Task