다음을 통해 공유


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.

.NET Framework Security

See Also

Reference

TeamFoundationTrace Class

InfoIf Overload

Microsoft.TeamFoundation Namespace