ScriptMethodData(String, ScriptBlock) Constructor

Definition

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

Applies to