iikoFront Api V6 Code Reference
iikoFront Api V6 Code Reference
Resto.Front.Api.Exceptions
DeviceException Class
DeviceException Methods
GetObjectData Method

# DeviceException GetObjectData Method

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

Namespace: Resto.Front.Api.Exceptions
Assembly: Resto.Front.Api.V6 (in Resto.Front.Api.V6.dll) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    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)
_Exception
GetObjectData(SerializationInfo, StreamingContext)
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | The info parameter is a null reference ( in Visual Basic).
SecurityException | The caller does not have the required permission.

See Also

#### Reference

DeviceException Class
Resto.Front.Api.Exceptions Namespace