TrackingExtensions.TrackBuildWarning Method (CodeActivityContext, String, BuildMessageImportance)
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 CodeActivityContext, _
message As String, _
importance As BuildMessageImportance _
)
public static void TrackBuildWarning(
this CodeActivityContext context,
string message,
BuildMessageImportance importance
)
[ExtensionAttribute]
public:
static void TrackBuildWarning(
CodeActivityContext^ context,
String^ message,
BuildMessageImportance importance
)
static member TrackBuildWarning :
context:CodeActivityContext *
message:string *
importance:BuildMessageImportance -> unit
public static function TrackBuildWarning(
context : CodeActivityContext,
message : String,
importance : BuildMessageImportance
)
Parameters
- context
Type: System.Activities.CodeActivityContext
- message
Type: System.String
- importance
Type: Microsoft.TeamFoundation.Build.Client.BuildMessageImportance
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type CodeActivityContext. 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.TeamFoundation.Build.Workflow.Activities Namespace