Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Conditionally write an informational message to the trace output.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Shared Sub InfoIf ( _
condition As Boolean, _
info As String _
)
public static void InfoIf(
bool condition,
string info
)
public:
static void InfoIf(
bool condition,
String^ info
)
static member InfoIf :
condition:bool *
info:string -> unit
public static function InfoIf(
condition : boolean,
info : String
)
Parameters
condition
Type: System.BooleanThe condition that causes the message to be traced, if true.
info
Type: System.StringThe message to write.
Remarks
Uses General keyword, level Info
.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.