Delen via


TeamFoundationTrace.VerboseIf Method (Boolean, String)

Conditionally writes a detailed message to the trace output.

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

Syntax

'Declaration
Public Shared Sub VerboseIf ( _
    condition As Boolean, _
    info As String _
)
public static void VerboseIf(
    bool condition,
    string info
)
public:
static void VerboseIf(
    bool condition, 
    String^ info
)
static member VerboseIf : 
        condition:bool * 
        info:string -> unit
public static function VerboseIf(
    condition : boolean, 
    info : String
)

Parameters

  • condition
    Type: System.Boolean

    The condition that causes the message to be written to the trace output, if true.

Remarks

Uses the General category and Verbose level.

.NET Framework Security

See Also

Reference

TeamFoundationTrace Class

VerboseIf Overload

Microsoft.TeamFoundation Namespace