Reference
OpcEncodingStackTrace Members
Represents a stack trace of an encoder / decoder, which is an ordered collection of one or more stack frames.
Reference
OpcEncodingStackTrace Members
- Type
- OpcEncodingStackTrace
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Properties
Empty
Gets a OpcEncodingStackTrace with a FrameCount equals zero.
public static OpcEncodingStackTrace Empty { get; }Public Shared ReadOnly Property Empty As OpcEncodingStackTraceProperty value
An instance of the OpcEncodingStackTrace without any stack frames.
FrameCount
Gets the number of frames in the stack trace.
public int FrameCount { get; }Public ReadOnly Property FrameCount As IntegerProperty value
The number of frames in the stack trace.
IsEmpty
Gets a value indicating whether the stack trace is empty.
public bool IsEmpty { get; }Public ReadOnly Property IsEmpty As BooleanProperty value
The value true if FrameCount is equals zero; otherwise the value false.
IsEnabled
Gets or sets a value indicating whether encoders / decoders shall build a stack trace of the operations performed. The default value is false. In case there tracing of the encode / decode operations is enabled the overall performance of the encoders / decoders used slows down.
public static bool IsEnabled { get; set; }Public Shared Property IsEnabled As BooleanProperty value
The value true if encoders / decoders shall build a stack trace; otherwise the value false.
Methods
GetFrame
Gets the specified stack frame.
public OpcEncodingStackFrame GetFrame(int index)Public Function GetFrame(index As Integer) As OpcEncodingStackFrameParameters
| Name | Type | Description |
|---|---|---|
index | Int32 | The index of the stack frame requested. |
Returns
The specified stack frame as an instance of the OpcEncodingStackFrame class or a null reference (Nothing in Visual Basic) in case there index is outside of the bounds of the frames in the current OpcEncodingStackTrace.
GetFrames
Returns a copy of all stack frames in the current stack trace.
public OpcEncodingStackFrame[] GetFrames()Public Function GetFrames() As OpcEncodingStackFrame()Returns
An array of the type OpcEncodingStackFrame representing the encoding / decoding operations in the stack trace.
ToString
Returns a readable representation of the stack trace.
public override string ToString()Public Overrides Function ToString() As StringReturns
A string representing the information of the current OpcEncodingStackTrace in a readable way.
Overrides

