AdsServerException.GetObjectData Method

When overridden in a derived class, sets the SerializationInfo with information about the exception.

Namespace:  TwinCAT.Ads.Server
Assembly:  TwinCAT.Ads.Server (in TwinCAT.Ads.Server.dll) Version: 6.0.328+39e3229

Syntax

C#

public override void GetObjectData(
    SerializationInfo info,
    StreamingContext context
)

Parameters

info

Type: System.Runtime.Serialization.SerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.

context

Type: System.Runtime.Serialization.StreamingContext
The StreamingContext that contains contextual information about the source or destination.

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

Exceptions

Exception

Condition

ArgumentNullException

info

Reference

AdsServerException Class

TwinCAT.Ads.Server Namespace