# OpcEncodingStackFrame Class

<span class="api-meta">since v2.8</span>

<dl class="api-definition">
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx">Opc.UaFx</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Members</dt>
<dd><a href="./members">OpcEncodingStackFrame Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Provides information about a OpcEncodingStackFrame, which represents the encoding / decoding operation performed on the encoding stack for the current encode / decode operation.

## Syntax

<div class="api-signature" data-lang="csharp">

```csharp
public class OpcEncodingStackFrame
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Class OpcEncodingStackFrame
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → **OpcEncodingStackFrame**

## Properties

| Name | Description |
|---|---|
| [Data](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcencodingstackframe/members#data) | Gets the data which is about to encode / decode. |
| [Encoding](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcencodingstackframe/members#encoding) | Gets the type of encoding supported by the encoder / decoder used. |
| [Exception](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcencodingstackframe/members#exception) | Gets the [Exception](https://learn.microsoft.com/dotnet/api/system.exception) created or caught during the encoding / decoding operation. |
| [FieldName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcencodingstackframe/members#fieldname) | Gets the name of the field of an [Instance](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcencodingstackframe/members#instance) which is about to get encoded / decoded. |
| [FieldType](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcencodingstackframe/members#fieldtype) | Gets the type of the field being encoded / decoded. |
| [Instance](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcencodingstackframe/members#instance) | Gets the [object](https://learn.microsoft.com/dotnet/api/system.object) instance its data is being encoded / decoded. |
| [Message](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcencodingstackframe/members#message) | Gets the description of the outcome of the current encoding / decoding operation. |
| [MethodName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcencodingstackframe/members#methodname) | Gets the name of the encoder / decoder method in which the frame is executing. |
| [Position](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcencodingstackframe/members#position) | Gets the zero-based position of the encoder / decoder within its underlying stream during the operation of the current OpcEncodingStackFrame. |
| [TypeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcencodingstackframe/members#typeid) | Gets the identifier of the type being encoded / decoded. |
| [TypeIdAbsolute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcencodingstackframe/members#typeidabsolute) | Gets the absolute [TypeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcencodingstackframe/members#typeid) (if available). |

## Methods

| Name | Description |
|---|---|
| [ToString](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcencodingstackframe/members#tostring)<span class="api-meta">override</span> | Returns a readable representation of the stack frame. |

## Applies to

| Package | Versions |
|---|---|
| Opc.UaFx.Advanced | v2.8–v2.59 |
