HttpEncoder.Current 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
애플리케이션에서 HttpEncoder 사용할 형식을 가져오거나 설정합니다.
public:
static property System::Web::Util::HttpEncoder ^ Current { System::Web::Util::HttpEncoder ^ get(); void set(System::Web::Util::HttpEncoder ^ value); };
public static System.Web.Util.HttpEncoder Current { get; set; }
static member Current : System.Web.Util.HttpEncoder with get, set
Public Shared Property Current As HttpEncoder
속성 값
사용할 인코더/디코더 형식에 대한 참조입니다.
예외
이 속성에 할당되는 인코더 인스턴스는 null.
설명
파생 HttpEncoder 형식이 구성 파일에 Current 지정된 경우 속성은 사용자 지정 형식에 대한 참조를 반환합니다. 그러나 사용자 지정 인코더가 사용되지 않는 경우 속성은 기본 ASP.NET HttpEncoder 인스턴스에 대한 참조를 반환합니다.
이 Current 속성은 스레드로부터 안전하지 않습니다. 단일 스레드에서 실행되므로 Application_Start 애플리케이션의 Application_Start 메서드에서만 이 속성을 설정합니다.