Reference
OpcEncodingStackFrame Members
Provides information about a OpcEncodingStackFrame, which represents the encoding / decoding operation performed on the encoding stack for the current encode / decode operation.
Reference
OpcEncodingStackFrame Members
- Type
- OpcEncodingStackFrame
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Properties
Data
Gets the data which is about to encode / decode.
public object Data { get; }Public ReadOnly Property Data As ObjectProperty value
An object instance which depends on the encoder / decoder used.
Encoding
Gets the type of encoding supported by the encoder / decoder used.
public OpcEncodingType Encoding { get; }Public ReadOnly Property Encoding As OpcEncodingTypeProperty value
One of the members defined by the OpcEncodingType enumeration.
Exception
Gets the Exception created or caught during the encoding / decoding operation.
public Exception Exception { get; }Public ReadOnly Property Exception As ExceptionProperty value
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.
public string FieldName { get; }Public ReadOnly Property FieldName As StringProperty value
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.
public Type FieldType { get; }Public ReadOnly Property FieldType As TypeProperty value
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.
public object Instance { get; }Public ReadOnly Property Instance As ObjectProperty value
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.
public string Message { get; }Public ReadOnly Property Message As StringProperty value
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.
public string MethodName { get; }Public ReadOnly Property MethodName As StringProperty value
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.
public long Position { get; }Public ReadOnly Property Position As LongProperty value
The position within the stream of the encoder / decoder.
TypeId
Gets the identifier of the type being encoded / decoded.
public OpcNodeId TypeId { get; }Public ReadOnly Property TypeId As OpcNodeIdProperty value
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).
public OpcNodeId TypeIdAbsolute { get; }Public ReadOnly Property TypeIdAbsolute As OpcNodeIdProperty value
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.
Methods
ToString
Returns a readable representation of the stack frame.
public override string ToString()Public Overrides Function ToString() As StringReturns
A string representing the information of the current OpcEncodingStackFrame in a readable way.
Overrides

