MethodInvocationInfo Constructor

Definition

Creates a new instance of MethodInvocationInfo.

public:
 MethodInvocationInfo(System::String ^ name, System::Collections::Generic::IEnumerable<Microsoft::PowerShell::Cmdletization::MethodParameter ^> ^ parameters, Microsoft::PowerShell::Cmdletization::MethodParameter ^ returnValue);
public MethodInvocationInfo (string name, System.Collections.Generic.IEnumerable<Microsoft.PowerShell.Cmdletization.MethodParameter> parameters, Microsoft.PowerShell.Cmdletization.MethodParameter returnValue);
new Microsoft.PowerShell.Cmdletization.MethodInvocationInfo : string * seq<Microsoft.PowerShell.Cmdletization.MethodParameter> * Microsoft.PowerShell.Cmdletization.MethodParameter -> Microsoft.PowerShell.Cmdletization.MethodInvocationInfo
Public Sub New (name As String, parameters As IEnumerable(Of MethodParameter), returnValue As MethodParameter)

Parameters

name
String

Name of the method to invoke.

parameters
IEnumerable<MethodParameter>

Method parameters.

returnValue
MethodParameter

Return value of the method (ok to pass null if the method doesn't return anything).

Applies to