다음을 통해 공유


ScriptingJsonSerializationSection.MaxJsonLength 속성

정의

JSON(JavaScript Object Notation) 문자열에 대해 개체에서 허용하는 JavaScriptSerializer 최대 길이를 가져오거나 설정합니다.

public:
 property int MaxJsonLength { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxJsonLength", DefaultValue=102400)]
public int MaxJsonLength { get; set; }
[<System.Configuration.ConfigurationProperty("maxJsonLength", DefaultValue=102400)>]
member this.MaxJsonLength : int with get, set
Public Property MaxJsonLength As Integer

속성 값

JSON 문자열의 최대 길이를 나타내는 정수입니다. 기본값은 102400자입니다.

특성

설명

속성 값 MaxJsonLength 은 비동기 통신 계층에서 웹 서비스 메서드를 호출하는 데 사용되는 내부 JavaScriptSerializer 인스턴스에만 적용됩니다.

적용 대상

추가 정보