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)
Syntax
‘선언
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.Boolean
The condition that causes the message to be traced, if true.
- info
Type: System.String
The message to write.
.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.