Share via


CompilationFailure Class

Definition

Describes a failure compiling a specific file.

public ref class CompilationFailure
public class CompilationFailure
type CompilationFailure = class
Public Class CompilationFailure
Inheritance
CompilationFailure

Constructors

CompilationFailure(String, String, String, IEnumerable<DiagnosticMessage>, String)

Initializes a new instance of CompilationFailure.

CompilationFailure(String, String, String, IEnumerable<DiagnosticMessage>)

Initializes a new instance of CompilationFailure.

Properties

CompiledContent

Contents being compiled.

FailureSummary

Summary message or instructions to fix the failure.

Messages

Gets a sequence of DiagnosticMessage produced as a result of compilation.

SourceFileContent

Contents of the file.

SourceFilePath

Path of the file that produced the compilation failure.

Applies to