This documentation is archived and is not being maintained.
InformationNodeConverters::AddBuildMessage Method
Visual Studio 2013
Adds a message to the specified build. Does not save to the server.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
[ExtensionAttribute] public: static IBuildMessage^ AddBuildMessage( IBuildInformation^ buildInformation, String^ message, BuildMessageImportance importance, DateTime timestamp )
Parameters
- buildInformation
- Type: Microsoft.TeamFoundation.Build.Client::IBuildInformation
The build information to which the message will be added.
- message
- Type: System::String
The message.
- importance
- Type: Microsoft.TeamFoundation.Build.Client::BuildMessageImportance
The importance of the message.
- timestamp
- Type: System::DateTime
The time of the message.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IBuildInformation. 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).- 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.
Show: