CommandLine.InvokeMethodAsync Method
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.
public static System.Threading.Tasks.Task<int> InvokeMethodAsync(string[] args, System.Reflection.MethodInfo method, string xmlDocsFilePath = default, object target = default, System.IO.TextWriter standardOutput = default, System.IO.TextWriter standardError = default);
static member InvokeMethodAsync : string[] * System.Reflection.MethodInfo * string * obj * System.IO.TextWriter * System.IO.TextWriter -> System.Threading.Tasks.Task<int>
Public Function InvokeMethodAsync (args As String(), method As MethodInfo, Optional xmlDocsFilePath As String = Nothing, Optional target As Object = Nothing, Optional standardOutput As TextWriter = Nothing, Optional standardError As TextWriter = Nothing) As Task(Of Integer)
Parameters
- args
- String[]
- method
- MethodInfo
- xmlDocsFilePath
- String
- target
- Object
- standardOutput
- TextWriter
- standardError
- TextWriter