OpcEncodingStackTrace Members

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

Empty

Gets a OpcEncodingStackTrace with a FrameCount equals zero.

C#

public static OpcEncodingStackTrace Empty { get; }


Property Value

OpcEncodingStackTrace

An instance of the OpcEncodingStackTrace without any stack frames.

FrameCount

Gets the number of frames in the stack trace.

C#

public int FrameCount { get; }


Property Value

Int32

The number of frames in the stack trace.

IsEmpty

Gets a value indicating whether the stack trace is empty.

C#

public bool IsEmpty { get; }


Property Value

Boolean

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.

C#

public static bool IsEnabled { get; set; }


Property Value

Boolean

The value true if encoders / decoders shall build a stack trace; otherwise the value false.

GetFrame(Int32)

Gets the specified stack frame.

C#

public OpcEncodingStackFrame GetFrame(int index)


Parameters

index Int32

The index of the stack frame requested.


Returns

OpcEncodingStackFrame

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.

C#

public OpcEncodingStackFrame[] GetFrames()


Returns

OpcEncodingStackFrame[]

An array of the type OpcEncodingStackFrame representing the encoding / decoding operations in the stack trace.

ToString()

Returns a readable representation of the stack trace.

C#

public override string ToString()


Returns

String

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