HttpRuntimeSection.MaxUrlLength 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
HTTP 요청의 URL 최대 길이(문자 수)를 가져오거나 설정합니다.
public:
property int MaxUrlLength { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxUrlLength", DefaultValue=260)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int MaxUrlLength { get; set; }
[<System.Configuration.ConfigurationProperty("maxUrlLength", DefaultValue=260)>]
[<System.Configuration.IntegerValidator(MinValue=0)>]
member this.MaxUrlLength : int with get, set
Public Property MaxUrlLength As Integer
속성 값
URL의 길이(문자 수)입니다. 기본값은 260입니다.
- 특성
설명
속성 값 MaxUrlLength 은 정수( 0 이상)일 수 있습니다.
메모
값이 매우 작을 경우 웹 사이트를 사용할 수 없게 만들 수 있습니다.
요청 URL의 길이(속성 값 Path )가 구성된 크기 제한을 초과하면 ASP.NET HTTP 400(잘못된 요청) 상태 코드를 반환합니다.
요소의 httpRuntime 특성을 설정하여 구성 파일에서 이 값을 설정할 MaxUrlLength 수 있습니다. 자세한 내용은 httpRuntime 요소(ASP.NET 설정 스키마)를 참조하세요.