OpcTypeDecodingFailedEventArgs Class

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll

Provides the event data for events of the delegate type OpcTypeDecodingFailedEventHandler.

C#

public class OpcTypeDecodingFailedEventArgs : EventArgs, IDisposable


Inheritance ObjectEventArgs › OpcTypeDecodingFailedEventArgs


Implements IDisposable

Name Description
Data Gets the data which is tried to decode.
Encoding Gets the type of encoding supported by the decoder used.
Exception Gets the Exception created or caught during the decoding process.
FieldName Gets the name of the field of an Instance which is about to get decoded.
FieldType Gets the type of the field being decoded.
Instance Gets the Object instance its data is being decoded.
Message Gets the description of the decoding failure.
Type Gets the type information used to decode the data of the Instance.
TypeId Gets the identifier of the type being decoded.
TypeIdAbsolute Gets the absolute TypeId (if available).
Name Description
Dispose Releases all resources used by the OpcTypeDecodingFailedEventArgs.
Dispose(Boolean) Releases the unmanaged resources used by the OpcTypeDecodingFailedEventArgs and optionally releases the managed resources.
GetData Retrieves a copy of the binary data in the Stream used by the decoder to decode the data.
GetStackTrace Retrieves an instance which summarizes the stack within the decoder until the failure has been produced. The OpcEncodingStackTrace returned contains OpcEncodingStackFrame entries only in case there IsEnabled is equals true (this influences the overall performance while encoding / decoding).
GetStream Retrieves a copy of the Stream used by the decoder to decode the data.
ToString Returns a String representing the Message or the Message of the Exception of the current OpcTypeDecodingFailedEventArgs.