This documentation is archived and is not being maintained.

TeamFoundationTrace::InfoIf Method (Boolean, String, array<Object>)

Conditionally write a message to the trace output.

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

public:
static void InfoIf(
	bool condition, 
	String^ format, 
	... array<Object^>^ args
)

Parameters

condition
Type: System::Boolean

Condition that causes the message to be traced, if true.

format
Type: System::String

The string format to which args is applied.

args
Type: array<System::Object>

One or more arguments.

Uses General keyword, level Info

Show: