Share via


PipelineException Constructor (String, Exception)

Note

This constructor is available only when developing for Windows.

Initializes a new instance of the PipelineException class with the specified error message and a reference to the inner exception that is the cause of this exception.

Syntax

'Declaration
Public Sub New ( _
         message As String, _
         innerException As Exception _
)
public PipelineException (
         string message,
         Exception innerException
)
public:
PipelineException(
         String message,
         Exception innerException
)

Parameters

  • message
    Type: String
    A message that describes the error.
  • innerException
    Type: Exception
    The exception that is the cause of the current exception. If innerException is not a null reference, the current exception is raised in a catch block that handles the inner exception.

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline

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

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP