次の方法で共有


HttpCompileException コンストラクター

定義

HttpCompileException クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
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

現在の例外の原因である例外。 innerExceptionnullされていない場合、内部例外を処理するcatch ブロックで現在の例外が発生します。

適用対象