Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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, _
format As String, _
ParamArray args As Object() _
)
public static void VerboseIf(
bool condition,
string format,
params Object[] args
)
public:
static void VerboseIf(
bool condition,
String^ format,
... array<Object^>^ args
)
static member VerboseIf :
condition:bool *
format:string *
args:Object[] -> unit
public static function VerboseIf(
condition : boolean,
format : String,
... args : Object[]
)
Parameters
condition
Type: System.BooleanThe condition that causes the message to be written to the trace output, if true.
format
Type: System.StringThe string format to which args is applied.
args
Type: array<System.Object[]One or more arguments.
Remarks
Uses the General category and Verbose level.
.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.