Table of Contents

Class PipelineException

Namespace
Microsoft.Xna.Framework.Content.Pipeline
Assembly
MonoGame.Framework.Content.Pipeline.dll

Thrown when errors are encountered during a content pipeline build.

[Serializable]
public class PipelineException : Exception, ISerializable
Inheritance
PipelineException
Implements
Inherited Members

Constructors

PipelineException()

Creates an instance of PipelineException.

public PipelineException()

PipelineException(SerializationInfo, StreamingContext)

Creates an instance of PipelineException with information on serialization and streaming context for the related content item.

protected PipelineException(SerializationInfo serializationInfo, StreamingContext streamingContext)

Parameters

serializationInfo SerializationInfo

Information necessary for serialization and deserialization of the content item.

streamingContext StreamingContext

Information necessary for the source and destination of a given serialized stream. Also provides an additional caller-defined context.

PipelineException(string)

Initializes a new instance of the PipelineException class with the specified error message.

public PipelineException(string message)

Parameters

message string

A message that describes the error.

PipelineException(string, Exception)

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.

public PipelineException(string message, Exception innerException)

Parameters

message string

A message that describes the error.

innerException 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.

PipelineException(string, params object[])

Initializes a new instance of the PipelineException class with the specified error message.

public PipelineException(string message, params object[] messageArgs)

Parameters

message string

A message that describes the error.

messageArgs object[]

Array of strings specifying message-related arguments.