ContentBuildLogger.LogWarning Method

Outputs a warning message from a content importer or processor.

Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public virtual abstract void LogWarning (
         string helpLink,
         ContentIdentity contentIdentity,
         string message,
         Object[] messageArgs
)

Parameters

  • helpLink
    Link to an existing online help topic containing related information.
  • contentIdentity
    Identity of the content item that generated the message.
  • message
    Message being reported.
  • messageArgs
    [ParamArrayAttribute] Arguments for the reported message.

Remarks

Use LogWarning only for important information, because these messages appear in the Error List window of Visual Studio. The message text should indicate what steps need to be taken to correct the problem.

See Also

Reference

ContentBuildLogger Class
ContentBuildLogger Members
Microsoft.Xna.Framework.Content.Pipeline Namespace

Platforms

Windows XP SP2, Windows Vista