OpcEncodingStackFrame Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcEncodingStackFrame type exposes the following members.

Data

Gets the data which is about to encode / decode.

C#

public object Data { get; }


Property Value

Object

An Object instance which depends on the encoder / decoder used.

Encoding

Gets the type of encoding supported by the encoder / decoder used.

C#

public OpcEncodingType Encoding { get; }


Property Value

OpcEncodingType

One of the members defined by the OpcEncodingType enumeration.

Exception

Gets the Exception created or caught during the encoding / decoding operation.

C#

public Exception Exception { get; }


Property Value

Exception

An instance of the Exception class or a null reference (Nothing in Visual Basic) in case there was no Exception encountered during the operation of this OpcEncodingStackFrame.

FieldName

Gets the name of the field of an Instance which is about to get encoded / decoded.

C#

public string FieldName { get; }


Property Value

String

The name of the field to encode / decode or a null reference (Nothing in Visual Basic) if there is no field name known by the encoder / decoder for the current operation of this OpcEncodingStackFrame.

FieldType

Gets the type of the field being encoded / decoded.

C#

public Type FieldType { get; }


Property Value

Type

The Type of the field to encode / decode or a null reference (Nothing in Visual Basic) if there is no Type known by the encoder / decoder for the current operation of this OpcEncodingStackFrame.

Instance

Gets the Object instance its data is being encoded / decoded.

C#

public object Instance { get; }


Property Value

Object

An Object instance or a null reference (Nothing in Visual Basic) in case there the encoder / decoder is not about to encode / decode an instance.

Message

Gets the description of the outcome of the current encoding / decoding operation.

C#

public string Message { get; }


Property Value

String

The description of the outcome of the current encoding / decoding operation or a null reference (Nothing in Visual Basic) in the case there the encoding / decoding operation does not offer a description for its outcome.

MethodName

Gets the name of the encoder / decoder method in which the frame is executing.

C#

public string MethodName { get; }


Property Value

String

The name of the method in which the frame is executing.

Position

Gets the zero-based position of the encoder / decoder within its underlying stream during the operation of the current OpcEncodingStackFrame.

C#

public long Position { get; }


Property Value

Int64

The position within the stream of the encoder / decoder.

TypeId

Gets the identifier of the type being encoded / decoded.

C#

public OpcNodeId TypeId { get; }


Property Value

OpcNodeId

An instance of the OpcNodeId class which identifies the type being encoded / decoded by the operation of the current OpcEncodingStackFrame or a null reference (Nothing in Visual Basic) if the operation is in a context there a type identifier does not apply to the current operation of the OpcEncodingStackFrame.

TypeIdAbsolute

Gets the absolute TypeId (if available).

C#

public OpcNodeId TypeIdAbsolute { get; }


Property Value

OpcNodeId

The absolute TypeId in case there the TypeId has been resolved or a null reference (Nothing in Visual Basic) if the TypeId hasn't been resolved.

ToString()

Returns a readable representation of the stack frame.

C#

public override string ToString()


Returns

String

A String representing the information of the current OpcEncodingStackFrame in a readable way.