Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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.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.