Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
声明
Public Shared Sub LogException ( _
    message As String, _
    exception As Exception _
)
public static void LogException(
    string message,
    Exception exception
)
public:
static void LogException(
    String^ message, 
    Exception^ exception
)
static member LogException : 
        message:string * 
        exception:Exception -> unit 
public static function LogException(
    message : String, 
    exception : Exception
)
Parameters
- message
Type: System.String 
- exception
Type: System.Exception 
.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.