MarshalException Class

Common Marshalling Exception

Inheritance Hierarchy

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

Syntax

C#

[SerializableAttribute]
public sealed class MarshalException : AdsException

The MarshalException type exposes the following members.

Constructors

 

Name

Description

MarshalException Class 1:

MarshalException.

Initializes a new instance of the MarshalException class.

MarshalException Class 2:

MarshalException(IDataType)

Initializes a new instance of the MarshalException class.

MarshalException Class 3:

MarshalException(String)

Initializes a new instance of the MarshalException class.

MarshalException Class 4:

MarshalException(IDataType, Object)

Initializes a new instance of the MarshalException class.

MarshalException Class 5:

MarshalException(IDataType, Type)

Initializes a new instance of the MarshalException class.

MarshalException Class 6:

MarshalException(String, Exception)

Initializes a new Instance of the AdsException class.

MarshalException Class 7:

MarshalException(IDataType, Type, String)

Initializes a new instance of the MarshalException class.

MarshalException Class 8:

MarshalException(IInstance, Type, MemberInfo)

Initializes a new instance of the MarshalException class.

Properties

 

Name

Description

MarshalException Class 9:

Data

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

MarshalException Class 10:

HelpLink

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

MarshalException Class 11:

HResult

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

MarshalException Class 12:

InnerException

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

MarshalException Class 13:

Message

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

MarshalException Class 14:

Source

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

MarshalException Class 15:

StackTrace

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

MarshalException Class 16:

TargetSite

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

Methods

 

Name

Description

MarshalException Class 17:

Equals

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

MarshalException Class 18:

GetBaseException

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

MarshalException Class 19:

GetHashCode

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

MarshalException Class 20:

GetObjectData

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

MarshalException Class 21:

GetType

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

MarshalException Class 22:

ToString

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

Reference

TwinCAT.TypeSystem Namespace