Bearbeiten

Freigeben über


Compiler(String, String, String, String, Int32) Constructor

Definition

Creates an instance of a Compiler initialized to the provided values.

public:
 Compiler(System::String ^ compilerOptions, System::String ^ extension, System::String ^ language, System::String ^ type, int warningLevel);
public Compiler (string compilerOptions, string extension, string language, string type, int warningLevel);
new System.Web.Configuration.Compiler : string * string * string * string * int -> System.Web.Configuration.Compiler
Public Sub New (compilerOptions As String, extension As String, language As String, type As String, warningLevel As Integer)

Parameters

compilerOptions
String

Lists additional compiler-specific options to pass during compilation.

extension
String

Provides a semicolon-separated list of file-name extensions used for dynamic code-behind files. For example, ".cs".

language
String

Provides a semicolon-separated list of languages used in dynamic compilation files. For example, "c#;cs;csharp".

type
String

Specifies a comma-separated class/assembly combination that indicates the .NET Framework class.

warningLevel
Int32

Specifies compiler warning levels.

Applies to