CodeDomProvider.CreateCompiler 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
주의
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 직접 사용할 수 있는 메서드를 호출하는 것입니다.
구현자 참고
클래스에서 멤버 CodeDomProvider 를 ICodeCompiler 구현하고 이 메서드가 NotSupportedException 호출되면 throw해야 합니다.