RemoteAttribute 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
jQuery 유효성 검사 플러그 인 원격 유효성 검사기를 사용하는 특성을 제공합니다.
[System.AttributeUsage(System.AttributeTargets.Property)]
public class RemoteAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute, System.Web.Mvc.IClientValidatable
type RemoteAttribute = class
inherit ValidationAttribute
interface IClientValidatable
Public Class RemoteAttribute
Inherits ValidationAttribute
Implements IClientValidatable
- 상속
-
RemoteAttribute
- 특성
- 구현
생성자
RemoteAttribute() |
RemoteAttribute 클래스의 새 인스턴스를 초기화합니다. |
RemoteAttribute(String) |
지정된 경로 이름을 사용하여 클래스의 RemoteAttribute 새 instance 초기화합니다. |
RemoteAttribute(String, String) |
지정된 action-method 이름 및 컨트롤러 이름을 사용하여 클래스의 RemoteAttribute 새 instance 초기화합니다. |
RemoteAttribute(String, String, AreaReference) |
RemoteAttribute 클래스의 새 인스턴스를 초기화합니다. |
RemoteAttribute(String, String, String) |
지정된 action-method 이름, 컨트롤러 이름 및 영역 이름을 사용하여 클래스의 RemoteAttribute 새 instance 초기화합니다. |
속성
AdditionalFields |
유효성 검사에 필요한 추가 필드를 가져오거나 설정합니다. |
HttpMethod |
원격 유효성 검사에 사용되는 HTTP 메서드를 가져오거나 설정합니다. |
RouteData |
경로 데이터 사전을 가져옵니다. |
RouteName |
경로 이름을 가져오거나 설정합니다. |
Routes |
경로 테이블에서 경로 컬렉션을 가져옵니다. |
메서드
FormatAdditionalFieldsForClientValidation(String) |
쉼표로 구분된 유효성 검사 필드 이름의 문자열을 반환합니다. |
FormatErrorMessage(String) |
유효성 검사가 실패했을 때 표시되는 오류 메시지의 서식을 지정합니다. |
FormatPropertyForClientValidation(String) |
별표(*)와 점(.)을 앞에 추가하여 클라이언트 유효성 검사에 대한 속성의 서식을 지정합니다. |
GetClientValidationRules(ModelMetadata, ControllerContext) |
속성에 대한 클라이언트 유효성 검사 규칙 목록을 가져옵니다. |
GetUrl(ControllerContext) |
원격 유효성 검사 호출에 대한 URL을 가져옵니다. |
IsValid(Object) |
이 메서드는 항상 true를 반환합니다. |