CsxFileCompilationFailedException Class
This exception is thrown when a csx file fails to compile.
public sealed class CsxFileCompilationFailedException : HAKOM.ErrorHandling.Core.Net.Api.HakomExceptionInheritance System.Object 🡒 System.Exception 🡒 HakomException 🡒 CsxFileCompilationFailedException
Remarks
Section titled “Remarks”Compilation errors are available in the Diagnostics property. Review the diagnostics to identify and fix the errors in the .csx file.
This exception is identified by error code HK15075.
Properties
Section titled “Properties”CsxFileCompilationFailedException.Diagnostics Property
Section titled “CsxFileCompilationFailedException.Diagnostics Property”Contains the diagnostics of the failed copmilation process.
public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic> Diagnostics { get; }Property Value
Section titled “Property Value”System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic>
CsxFileCompilationFailedException.EquivalentHttpStatusCode Property
Section titled “CsxFileCompilationFailedException.EquivalentHttpStatusCode Property”When unhandled within an HTTP request, this exception produces HTTP 500 (Internal Server Error).
protected override System.Net.HttpStatusCode EquivalentHttpStatusCode { protected get; }Property Value
Section titled “Property Value”CsxFileCompilationFailedException.FileName Property
Section titled “CsxFileCompilationFailedException.FileName Property”The name of the file which caused this error.
public string FileName { get; }Property Value
Section titled “Property Value”Was this page helpful?Thanks for your feedback!