Share via


LaunchApplicationAction Constructor (String, String)

Initializes a new instance of the LaunchApplicationAction class by using the provided executable file name and command line arguments.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
Public Sub New ( _
    fileName As String, _
    arguments As String _
)
public LaunchApplicationAction(
    string fileName,
    string arguments
)
public:
LaunchApplicationAction(
    String^ fileName, 
    String^ arguments
)
new : 
        fileName:string * 
        arguments:string -> LaunchApplicationAction
public function LaunchApplicationAction(
    fileName : String, 
    arguments : String
)

Parameters

  • fileName
    Type: String

    The full path of the executable file.

  • arguments
    Type: String

    A string that contains the command line arguments.

.NET Framework Security

See Also

Reference

LaunchApplicationAction Class

LaunchApplicationAction Overload

Microsoft.VisualStudio.TestTools.UITest.Common Namespace