共用方式為


VsShellUtilities.LogWarning(String, String) Method

Definition

Logs a warning.

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

Parameters

source
String

The source.

warning
String

The warning message.

Applies to