Skip to content

Reference

OpcTypeEncodingFailedEventArgs Class

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

Reference

OpcTypeEncodingFailedEventArgs Class ​

since v2.8

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcTypeEncodingFailedEventArgs Members
Also in
Opc.UaFx.Client

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

Syntax ​

csharp
public class OpcTypeEncodingFailedEventArgs : EventArgs
vbnet
Public Class OpcTypeEncodingFailedEventArgs
    Inherits EventArgs

Inheritance ​

Object → EventArgs → OpcTypeEncodingFailedEventArgs

Implements ​

Properties ​

NameDescription
DataGets the data which is tried to encode.
EncodingGets the type of encoding supported by the encoder used.
ExceptionGets the Exception created or caught during the encoding process.
FieldNameGets the name of the field of an Instance which is about to get encoded.
FieldTypeGets the type of the field being encoded.
InstanceGets the object instance its data is being encoded.
MessageGets the description of the encoding failure.
TypeGets the type information used to encode the data of the Instance.
TypeIdGets the identifier of the type being encoded.
TypeIdAbsoluteGets the absolute TypeId (if available).

Methods ​

NameDescription
Dispose2 overloadsReleases all resources used by the OpcTypeEncodingFailedEventArgs.
GetDataRetrieves a copy of the binary data in the Stream used by the encoder to encode the data.
GetStackTraceRetrieves an instance which summarizes the stack within the encoder until the failure has been produced.
GetStreamRetrieves a copy of the Stream used by the encoder to encode the data.
ToStringoverrideReturns a string representing the Message or the Message of the Exception of the current OpcTypeEncodingFailedEventArgs.

Inherits members from EventArgs.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.8–v2.59