AdsErrorException Methods

The AdsErrorException type exposes the following members.

Methods

 

Name

Description

Create(AdsErrorCode)

Creates the AdsErrorException

Create(String, AdsErrorCode)

Creates the AdsErrorException

Equals

Determines whether the specified object is equal to the current object. (Inherited from Object.)

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

GetBaseException

When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Inherited from Exception.)

GetHashCode

Serves as the default hash function. (Inherited from Object.)

GetObjectData

When overridden in a derived class, sets the SerializationInfo with information about the exception. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)

GetType

Gets the runtime type of the current instance. (Inherited from Exception.)

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

ToString

Creates and returns a string representation of the current exception. (Inherited from Exception.)

Reference

AdsErrorException Class

TwinCAT.Ads Namespace