ContentBuildLogger.LogWarning Method
Note
This method is available only when developing for Windows.
Outputs a warning message from a content importer or processor.
Syntax
'Declaration
Public MustOverride Sub LogWarning ( _
helpLink As String, _
contentIdentity As ContentIdentity, _
message As String, _
messageArgs As Object() _
)
public abstract void LogWarning (
string helpLink,
ContentIdentity contentIdentity,
string message,
params Object[] messageArgs
)
public:
void LogWarning(
String helpLink,
ContentIdentity contentIdentity,
String message,
params Object messageArgs[]
) abstract
Parameters
- helpLink
Type: String
Link to an existing online help topic containing related information. - contentIdentity
Type: ContentIdentity
Identity of the content item that generated the message. - message
Type: String
Message being reported. - messageArgs
Type: Object
[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.
Requirements
Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
See Also
Reference
ContentBuildLogger Class
ContentBuildLogger Members
Microsoft.Xna.Framework.Content.Pipeline Namespace
Platforms
Windows 7, Windows Vista, Windows XP