AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

The error code and error message that is returned for a parameter or parameter combination that is not valid when a new launch template or new version of a launch template is created.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.ValidationError

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class ValidationError

The ValidationError type exposes the following members

Constructors

NameDescription
Public Method ValidationError()

Properties

NameTypeDescription
Public Property Code System.String

Gets and sets the property Code.

The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error codes.

Public Property Message System.String

Gets and sets the property Message.

The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error codes.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5