共用方式為


InvalidContentException.ContentIdentity Property

Note

This property is available only when developing for Windows.

Gets or sets the identity of the content item that caused the exception.

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

Syntax

public ContentIdentity ContentIdentity { get; set; }

Property Value

The identity of the bad content item.

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP