ScriptMethodData(String, ScriptBlock) Constructor
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.
ScriptMethodData constructor.
public:
ScriptMethodData(System::String ^ name, System::Management::Automation::ScriptBlock ^ scriptToInvoke);
public ScriptMethodData (string name, System.Management.Automation.ScriptBlock scriptToInvoke);
new System.Management.Automation.Runspaces.ScriptMethodData : string * System.Management.Automation.ScriptBlock -> System.Management.Automation.Runspaces.ScriptMethodData
Public Sub New (name As String, scriptToInvoke As ScriptBlock)
Parameters
- name
- String
- scriptToInvoke
- ScriptBlock