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

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

Parameters

  • fileName
    Type: System.String

    The full path of the executable file.

  • arguments
    Type: System.String

    A string that contains the command line arguments.

See Also

LaunchApplicationAction Overload
LaunchApplicationAction Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace

Return to top