CannotAccessValueException Class

Class CannotAccessValueException. This class cannot be inherited. Implements the SymbolException

Inheritance Hierarchy

System.Object
  System.Exception
    TwinCAT.AdsException
      TwinCAT.TypeSystem.SymbolException
        TwinCAT.ValueAccess.CannotAccessValueException
Namespace:  TwinCAT.ValueAccess
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

[SerializableAttribute]
public sealed class CannotAccessValueException : SymbolException

The CannotAccessValueException type exposes the following members.

Constructors

 

Name

Description

CannotAccessValueException Class 1:

CannotAccessValueException.

Initializes a new instance of the CannotAccessValueException class.

CannotAccessValueException Class 2:

CannotAccessValueException(ISymbol)

Initializes a new instance of the CannotAccessValueException class.

Properties

 

Name

Description

CannotAccessValueException Class 3:

Data

Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from Exception.)

CannotAccessValueException Class 4:

HelpLink

Gets or sets a link to the help file associated with this exception. (Inherited from Exception.)

CannotAccessValueException Class 5:

HResult

Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from Exception.)

CannotAccessValueException Class 6:

InnerException

Gets the Exception instance that caused the current exception. (Inherited from Exception.)

CannotAccessValueException Class 7:

InstancePath

Gets the instance path. (Inherited from SymbolException.)

CannotAccessValueException Class 8:

Message

Gets a message that describes the current exception. (Inherited from Exception.)

CannotAccessValueException Class 9:

Source

Gets or sets the name of the application or the object that causes the error. (Inherited from Exception.)

CannotAccessValueException Class 10:

StackTrace

Gets a string representation of the immediate frames on the call stack. (Inherited from Exception.)

CannotAccessValueException Class 11:

Symbol

Gets the symbol. (Inherited from SymbolException.)

CannotAccessValueException Class 12:

TargetSite

Gets the method that throws the current exception. (Inherited from Exception.)

Methods

 

Name

Description

CannotAccessValueException Class 13:

Equals

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

CannotAccessValueException Class 14:

GetBaseException

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

CannotAccessValueException Class 15:

GetHashCode

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

CannotAccessValueException Class 16:

GetObjectData

When overridden in a derived class, sets the SerializationInfo with information about the exception. (Inherited from SymbolException.)

CannotAccessValueException Class 17:

GetType

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

CannotAccessValueException Class 18:

ToString

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

Reference

TwinCAT.ValueAccess Namespace

TwinCAT.TypeSystem.SymbolException