MethodInvocationInfo 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.
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).