CodeDomProvider.CreateCompiler 메서드

정의

주의

Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class. Those inheriting from CodeDomProvider must still implement this interface, and should exclude this warning or also obsolete this method.

파생 클래스에서 재정의되는 경우 새 코드 컴파일러를 만듭니다.

public:
 abstract System::CodeDom::Compiler::ICodeCompiler ^ CreateCompiler();
public abstract System.CodeDom.Compiler.ICodeCompiler CreateCompiler();
[System.Obsolete("Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class. Those inheriting from CodeDomProvider must still implement this interface, and should exclude this warning or also obsolete this method.")]
public abstract System.CodeDom.Compiler.ICodeCompiler CreateCompiler();
abstract member CreateCompiler : unit -> System.CodeDom.Compiler.ICodeCompiler
[<System.Obsolete("Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class. Those inheriting from CodeDomProvider must still implement this interface, and should exclude this warning or also obsolete this method.")>]
abstract member CreateCompiler : unit -> System.CodeDom.Compiler.ICodeCompiler
Public MustOverride Function CreateCompiler () As ICodeCompiler

반품

ICodeCompiler 기반 소스 코드 표현의 System.CodeDom 컴파일에 사용할 수 있는 값입니다.

특성

설명

이 메서드는 사용되지 않습니다. 권장되는 대안은 코드 공급자에서 ICodeCompiler 직접 사용할 수 있는 메서드를 호출하는 것입니다.

구현자 참고

클래스에서 멤버 CodeDomProviderICodeCompiler 구현하고 이 메서드가 NotSupportedException 호출되면 throw해야 합니다.

적용 대상