Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll
Provides the event data for events of the delegate type OpcTypeEncodingFailedEventHandler.
C#
public class OpcTypeEncodingFailedEventArgs : EventArgs, IDisposable
Inheritance Object › EventArgs › OpcTypeEncodingFailedEventArgs
Implements IDisposable
Name | Description |
---|---|
Data | Gets the data which is tried to encode. |
Encoding | Gets the type of encoding supported by the encoder used. |
Exception | Gets the Exception created or caught during the encoding process. |
FieldName | Gets the name of the field of an Instance which is about to get encoded. |
FieldType | Gets the type of the field being encoded. |
Instance | Gets the Object instance its data is being encoded. |
Message | Gets the description of the encoding failure. |
Type | Gets the type information used to encode the data of the Instance. |
TypeId | Gets the identifier of the type being encoded. |
TypeIdAbsolute | Gets the absolute TypeId (if available). |
Name | Description |
---|---|
Dispose | Releases all resources used by the OpcTypeEncodingFailedEventArgs. |
Dispose(Boolean) | Releases the unmanaged resources used by the OpcTypeEncodingFailedEventArgs and optionally releases the managed resources. |
GetData | Retrieves a copy of the binary data in the Stream used by the encoder to encode the data. |
GetStackTrace | Retrieves an instance which summarizes the stack within the encoder 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 encoder to encode the data. |
ToString | Returns a String representing the Message or the Message of the Exception of the current OpcTypeEncodingFailedEventArgs. |