Поделиться через


TrackingExtensions.TrackBuildWarning Method (NativeActivityContext, String)

Namespace:  Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Sub TrackBuildWarning ( _
    context As NativeActivityContext, _
    message As String _
)
public static void TrackBuildWarning(
    this NativeActivityContext context,
    string message
)
[ExtensionAttribute]
public:
static void TrackBuildWarning(
    NativeActivityContext^ context, 
    String^ message
)
static member TrackBuildWarning : 
        context:NativeActivityContext * 
        message:string -> unit
public static function TrackBuildWarning(
    context : NativeActivityContext, 
    message : String
)

Parameters

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type NativeActivityContext. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework Security

See Also

Reference

TrackingExtensions Class

TrackBuildWarning Overload

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace