共用方式為


VsShellUtilities.LogError(String, String) Method

Definition

Logs the error.

public:
 static void LogError(System::String ^ source, System::String ^ error);
public:
 static void LogError(Platform::String ^ source, Platform::String ^ error);
 static void LogError(std::wstring const & source, std::wstring const & error);
public static void LogError (string source, string error);
static member LogError : string * string -> unit
Public Shared Sub LogError (source As String, error As String)
Public Sub LogError (source As String, error As String)

Parameters

source
String

The source.

error
String

The error.

Applies to