次の方法で共有


FileTracker.TrackerArguments Method (String, String, String, String, String, String)

This method constructs the correct Tracker.exe arguments from its parameters.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Utilities
Assembly:  Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)

Syntax

'Declaration
Public Shared Function TrackerArguments ( _
    command As String, _
    arguments As String, _
    dllName As String, _
    intermediateDirectory As String, _
    rootFiles As String, _
    cancelEventName As String _
) As String
public static string TrackerArguments(
    string command,
    string arguments,
    string dllName,
    string intermediateDirectory,
    string rootFiles,
    string cancelEventName
)
public:
static String^ TrackerArguments(
    String^ command, 
    String^ arguments, 
    String^ dllName, 
    String^ intermediateDirectory, 
    String^ rootFiles, 
    String^ cancelEventName
)
static member TrackerArguments : 
        command:string * 
        arguments:string * 
        dllName:string * 
        intermediateDirectory:string * 
        rootFiles:string * 
        cancelEventName:string -> string
public static function TrackerArguments(
    command : String, 
    arguments : String, 
    dllName : String, 
    intermediateDirectory : String, 
    rootFiles : String, 
    cancelEventName : String
) : String

Parameters

  • dllName
    Type: System.String

    The name of the dll that will do the tracking

  • intermediateDirectory
    Type: System.String

    Intermediate directory where tracking logs will be written

  • cancelEventName
    Type: System.String

    If a cancel event has been created that Tracker should be listening for, its name is passed here

Return Value

Type: System.String
The arguments as a string

.NET Framework Security

See Also

Reference

FileTracker Class

TrackerArguments Overload

Microsoft.Build.Utilities Namespace