InvocationInfo.Create(CommandInfo, IScriptExtent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create.
public:
static System::Management::Automation::InvocationInfo ^ Create(System::Management::Automation::CommandInfo ^ commandInfo, System::Management::Automation::Language::IScriptExtent ^ scriptPosition);
public static System.Management.Automation.InvocationInfo Create (System.Management.Automation.CommandInfo commandInfo, System.Management.Automation.Language.IScriptExtent scriptPosition);
static member Create : System.Management.Automation.CommandInfo * System.Management.Automation.Language.IScriptExtent -> System.Management.Automation.InvocationInfo
Public Shared Function Create (commandInfo As CommandInfo, scriptPosition As IScriptExtent) As InvocationInfo
Parameters
- commandInfo
- CommandInfo
- scriptPosition
- IScriptExtent