TeamFoundationTrace.Error Method (array<String , String, String, Exception)
Write an exception, information, and method to the trace output
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Shared Sub Error ( _
keywords As String(), _
info As String, _
method As String, _
exception As Exception _
)
public static void Error(
string[] keywords,
string info,
string method,
Exception exception
)
public:
static void Error(
array<String^>^ keywords,
String^ info,
String^ method,
Exception^ exception
)
static member Error :
keywords:string[] *
info:string *
method:string *
exception:Exception -> unit
public static function Error(
keywords : String[],
info : String,
method : String,
exception : Exception
)
Parameters
keywords
Type: array<System.String[]One or more keywords
info
Type: System.StringApplication defined information (may be null)
method
Type: System.StringApplication defined method (may be null)
exception
Type: System.ExceptionThe exception 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.