This documentation is archived and is not being maintained.

TeamFoundationTrace::InfoIf Method (Boolean, String)

Conditionally write an informational message to the trace output.

Namespace:  Microsoft.TeamFoundation
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

public:
static void InfoIf(
	bool condition, 
	String^ info
)

Parameters

condition
Type: System::Boolean

The condition that causes the message to be traced, if true.

info
Type: System::String

The message to write.

Uses General keyword, level Info

Show: