AWS SDK for .NET Documentation
Error Class
AmazonAmazon.EC2.ModelError Did this page help you?   Yes   No    Tell us about it...
Error
Declaration Syntax
C#
public class Error
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Error()()()()
Initializes a new instance of the Error class

Code
Error code

Detail
Details of the error

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
IsSetCode()()()()
Checks if Code property is set

IsSetDetail()()()()
Checks if Detail property is set

IsSetMessage()()()()
Checks if Message property is set

IsSetType()()()()
Checks if Type property is set

Message
Error message

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Type
Type of error

WithCode(String) Obsolete.
Sets the error code

WithDetail(Object) Obsolete.
Sets the details of the error

WithMessage(String) Obsolete.
Sets the error message

WithType(String) Obsolete.
Sets the type of error

Inheritance Hierarchy
Object
Error

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)