<PackageReference Include="Microsoft.Rest.ClientRuntime" Version="2.3.17" />

Microsoft.Rest.ValidationException

Validation exception for Microsoft Rest Client.
public object Details { get; }

Gets validation details.

public string Rule { get; }

Gets validation rule.

public string Target { get; }

Gets validation target.

Initializes a new instance of the ValidationException class.

public ValidationException(string message)

Initializes a new instance of the ValidationException class.

public ValidationException(string rule, string target)

Initializes a new instance of the ValidationException class.

public ValidationException(string rule, string target, object details)

Initializes a new instance of the ValidationException class.

public ValidationException(string message, Exception innerException)

Initializes a new instance of the ValidationException class.