ContentLoadException Constructor (SerializationInfo, StreamingContext)

Creates a new instance of ContentLoadException.

Syntax

'Declaration
Protected Sub New ( _
         info As SerializationInfo, _
         context As StreamingContext _
)
protected ContentLoadException (
         SerializationInfo info,
         StreamingContext context
)
protected:
ContentLoadException(
         SerializationInfo info,
         StreamingContext context
)

Parameters

  • info
    Type: SerializationInfo
    Describes the value types that were being loaded when the exception occurred.
  • context
    Type: StreamingContext
    Describes the stream where the exception occurred.

Requirements

Namespace: Microsoft.Xna.Framework.Content

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

ContentLoadException Class
ContentLoadException Members
Microsoft.Xna.Framework.Content Namespace

Platforms

Windows Phone