Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CodeMethodData Constructor (String, MethodInfo)

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Initializes a new instance of the CodeMethodData class. Introduced in Windows PowerShell 3.0.

Namespace:   System.Management.Automation.Runspaces
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

public CodeMethodData(
	string name,
	MethodInfo methodToCall
)

Parameters

name
Type: System.String

The name of the method.

methodToCall
Type: System.Reflection.MethodInfo

The reflection information of the method.

Return to top

Community Additions

Show: