共用方式為


Logger.FormatWarningEvent(BuildWarningEventArgs) Method

Definition

Generates a message in the default format from a BuildWarningEventArgs object.

public:
 virtual System::String ^ FormatWarningEvent(Microsoft::Build::Framework::BuildWarningEventArgs ^ args);
public virtual string FormatWarningEvent (Microsoft.Build.Framework.BuildWarningEventArgs args);
abstract member FormatWarningEvent : Microsoft.Build.Framework.BuildWarningEventArgs -> string
override this.FormatWarningEvent : Microsoft.Build.Framework.BuildWarningEventArgs -> string
Public Overridable Function FormatWarningEvent (args As BuildWarningEventArgs) As String

Parameters

args
BuildWarningEventArgs

Warning event arguments

Returns

Warning message in canonical format

Applies to