RemoteAttribute 클래스

정의

RemoteAttributeBase 웹 사이트에 Ajax 요청을 보내도록 눈에 띄지 않는 유효성 검사를 구성하는 컨트롤러의 입니다. 호출된 작업은 값이 유효한지 여부를 나타내는 JSON을 반환해야 합니다.

public ref class RemoteAttribute : System::ComponentModel::DataAnnotations::ValidationAttribute, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IClientModelValidator
public ref class RemoteAttribute : Microsoft::AspNetCore::Mvc::RemoteAttributeBase
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public class RemoteAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public class RemoteAttribute : Microsoft.AspNetCore.Mvc.RemoteAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type RemoteAttribute = class
    inherit ValidationAttribute
    interface IClientModelValidator
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type RemoteAttribute = class
    inherit RemoteAttributeBase
Public Class RemoteAttribute
Inherits ValidationAttribute
Implements IClientModelValidator
Public Class RemoteAttribute
Inherits RemoteAttributeBase
상속
RemoteAttribute
상속
특성
구현

설명

최종 양식 제출에 대한 서버 쪽 유효성 검사를 수행하지 않습니다.

생성자

RemoteAttribute()

RemoteAttribute 클래스의 새 인스턴스를 초기화합니다.

RemoteAttribute(String)

RemoteAttribute 클래스의 새 인스턴스를 초기화합니다.

RemoteAttribute(String, String)

RemoteAttribute 클래스의 새 인스턴스를 초기화합니다.

RemoteAttribute(String, String, String)

RemoteAttribute 클래스의 새 인스턴스를 초기화합니다.

속성

AdditionalFields

클라이언트가 유효성 검사 요청에 포함해야 하는 필드의 쉼표로 구분된 이름을 가져오거나 설정합니다.

AdditionalFields

클라이언트가 유효성 검사 요청에 포함해야 하는 필드의 쉼표로 구분된 이름을 가져오거나 설정합니다.

(다음에서 상속됨 RemoteAttributeBase)
HttpMethod

유효성 검사 요청을 보낼 때 클라이언트에서 사용해야 하는 HTTP 메서드("Get" 또는 )를 가져오거나 "Post"설정합니다.

HttpMethod

유효성 검사 요청을 보낼 때 클라이언트에서 사용해야 하는 HTTP 메서드("Get" 또는 )를 가져오거나 "Post"설정합니다.

(다음에서 상속됨 RemoteAttributeBase)
RouteData

클라이언트가 RouteValueDictionary 유효성 검사 요청을 보내야 하는 URL을 생성할 때 사용되는 를 가져옵니다.

RouteData

클라이언트가 RouteValueDictionary 유효성 검사 요청을 보내야 하는 URL을 생성할 때 사용되는 를 가져옵니다.

(다음에서 상속됨 RemoteAttributeBase)
RouteName

클라이언트가 유효성 검사 요청을 보내야 하는 URL을 생성할 때 사용되는 경로 이름을 가져오거나 설정합니다.

메서드

AddValidation(ClientModelValidationContext)

RemoteAttributeBase 웹 사이트에 Ajax 요청을 보내도록 눈에 띄지 않는 유효성 검사를 구성하는 컨트롤러의 입니다. 호출된 작업은 값이 유효한지 여부를 나타내는 JSON을 반환해야 합니다.

AddValidation(ClientModelValidationContext)

에 눈에 거슬리지 않는 유효성 검사 HTML 특성을 추가합니다 ClientModelValidationContext.

(다음에서 상속됨 RemoteAttributeBase)
FormatAdditionalFieldsForClientValidation(String)

propertyAdditionalFields 생성된 HTML에 사용할 및 형식입니다.

FormatAdditionalFieldsForClientValidation(String)

propertyAdditionalFields 생성된 HTML에 사용할 및 형식입니다.

(다음에서 상속됨 RemoteAttributeBase)
FormatErrorMessage(String)

RemoteAttributeBase 웹 사이트에 Ajax 요청을 보내도록 눈에 띄지 않는 유효성 검사를 구성하는 컨트롤러의 입니다. 호출된 작업은 값이 유효한지 여부를 나타내는 JSON을 반환해야 합니다.

FormatErrorMessage(String)

RemoteAttributeBase 웹 사이트에 Ajax 요청을 보내도록 눈에 띄지 않는 유효성 검사를 구성하는 컨트롤러의 입니다. 호출된 작업은 값이 유효한지 여부를 나타내는 JSON을 반환해야 합니다.

(다음에서 상속됨 RemoteAttributeBase)
FormatPropertyForClientValidation(String)

property 생성된 HTML에서 사용할 형식입니다.

GetUrl(ClientModelValidationContext)

클라이언트가 유효성 검사 요청을 보내야 하는 URL을 반환합니다.

IsValid(Object)

RemoteAttributeBase 웹 사이트에 Ajax 요청을 보내도록 눈에 띄지 않는 유효성 검사를 구성하는 컨트롤러의 입니다. 호출된 작업은 값이 유효한지 여부를 나타내는 JSON을 반환해야 합니다.

IsValid(Object)

RemoteAttributeBase 웹 사이트에 Ajax 요청을 보내도록 눈에 띄지 않는 유효성 검사를 구성하는 컨트롤러의 입니다. 호출된 작업은 값이 유효한지 여부를 나타내는 JSON을 반환해야 합니다.

(다음에서 상속됨 RemoteAttributeBase)

적용 대상