Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcEncodingStackTrace type exposes the following members.
Gets a OpcEncodingStackTrace with a FrameCount equals zero.
C#
public static OpcEncodingStackTrace Empty { get; }
Property Value
An instance of the OpcEncodingStackTrace without any stack frames.
Gets the number of frames in the stack trace.
C#
public int FrameCount { get; }
Property Value
The number of frames in the stack trace.
Gets a value indicating whether the stack trace is empty.
C#
public bool IsEmpty { get; }
Property Value
The value true if FrameCount is equals zero; otherwise the value false.
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.
C#
public static bool IsEnabled { get; set; }
Property Value
The value true if encoders / decoders shall build a stack trace; otherwise the value false.
Gets the specified stack frame.
C#
public OpcEncodingStackFrame GetFrame(int index)
Parameters
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.
Returns a copy of all stack frames in the current stack trace.
C#
public OpcEncodingStackFrame[] GetFrames()
Returns
An array of the type OpcEncodingStackFrame representing the encoding / decoding operations in the stack trace.
Returns a readable representation of the stack trace.
C#
public override string ToString()
Returns
A String representing the information of the current OpcEncodingStackTrace in a readable way.