Class RemoteServiceValidationErrorInfo
Used to store information about a validation error.
Inheritance
System.Object
RemoteServiceValidationErrorInfo
Namespace: Volo.Abp.Http
Assembly: Volo.Abp.ExceptionHandling.dll
Syntax
public class RemoteServiceValidationErrorInfo : object
Constructors
RemoteServiceValidationErrorInfo()
Creates a new instance of RemoteServiceValidationErrorInfo.
Declaration
public RemoteServiceValidationErrorInfo()
RemoteServiceValidationErrorInfo(String)
Creates a new instance of RemoteServiceValidationErrorInfo.
Declaration
public RemoteServiceValidationErrorInfo(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | Validation error message |
RemoteServiceValidationErrorInfo(String, String)
Creates a new instance of RemoteServiceValidationErrorInfo.
Declaration
public RemoteServiceValidationErrorInfo(string message, string member)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | Validation error message |
| System.String | member | Related invalid member |
RemoteServiceValidationErrorInfo(String, String[])
Creates a new instance of RemoteServiceValidationErrorInfo.
Declaration
public RemoteServiceValidationErrorInfo(string message, string[] members)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | Validation error message |
| System.String[] | members | Related invalid members |
Properties
Members
Relate invalid members (fields/properties).
Declaration
public string[] Members { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String[] |
Message
Validation error message.
Declaration
public string Message { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |