다음을 통해 공유


HttpCompileException 생성자

정의

HttpCompileException 클래스의 새 인스턴스를 초기화합니다.

오버로드

Name Description
HttpCompileException()

HttpCompileException 클래스의 새 인스턴스를 초기화합니다.

HttpCompileException(String)

HttpCompileException 클래스의 새 인스턴스를 초기화합니다.

HttpCompileException(CompilerResults, String)

HttpCompileException 클래스의 새 인스턴스를 초기화합니다.

HttpCompileException(String, Exception)

지정된 오류 메시지와 이 예외의 HttpCompileException 원인인 내부 예외에 대한 참조를 사용하여 클래스의 새 인스턴스를 초기화합니다.

HttpCompileException()

HttpCompileException 클래스의 새 인스턴스를 초기화합니다.

public:
 HttpCompileException();
public HttpCompileException();
Public Sub New ()

적용 대상

HttpCompileException(String)

HttpCompileException 클래스의 새 인스턴스를 초기화합니다.

public:
 HttpCompileException(System::String ^ message);
public HttpCompileException(string message);
new System.Web.HttpCompileException : string -> System.Web.HttpCompileException
Public Sub New (message As String)

매개 변수

message
String

오류가 발생하는 시기를 지정하는 예외 메시지입니다.

적용 대상

HttpCompileException(CompilerResults, String)

HttpCompileException 클래스의 새 인스턴스를 초기화합니다.

public:
 HttpCompileException(System::CodeDom::Compiler::CompilerResults ^ results, System::String ^ sourceCode);
public HttpCompileException(System.CodeDom.Compiler.CompilerResults results, string sourceCode);
new System.Web.HttpCompileException : System.CodeDom.Compiler.CompilerResults * string -> System.Web.HttpCompileException
Public Sub New (results As CompilerResults, sourceCode As String)

매개 변수

results
CompilerResults

CompilerResults 포함된 컴파일러 출력 및 오류 정보입니다.

sourceCode
String

오류가 발생할 때 컴파일되는 소스 코드가 포함된 파일의 경로입니다.

설명

매개 변수의 sourceCode 경우 오류 조건에 설명이 포함된 문자열 정보를 전달할 수 있습니다. 파일 또는 경로에 대한 검사는 없습니다. 이 속성은 SourceCode 매개 변수 값으로 전달된 문자열을 반환합니다. 매개 변수가 필요하지 sourceCode 않은 생성자를 사용하는 경우 속성은 SourceCode .입니다 null.

적용 대상

HttpCompileException(String, Exception)

지정된 오류 메시지와 이 예외의 HttpCompileException 원인인 내부 예외에 대한 참조를 사용하여 클래스의 새 인스턴스를 초기화합니다.

public:
 HttpCompileException(System::String ^ message, Exception ^ innerException);
public HttpCompileException(string message, Exception innerException);
new System.Web.HttpCompileException : string * Exception -> System.Web.HttpCompileException
Public Sub New (message As String, innerException As Exception)

매개 변수

message
String

예외의 이유를 설명하는 오류 메시지입니다.

innerException
Exception

현재 예외의 원인인 예외입니다. 그렇지 않은 null경우 innerException 내부 예외를 catch 처리하는 블록에서 현재 예외가 발생합니다.

적용 대상