SafeOpcFileHandle Class

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

Represents a wrapper class for a OPC UA file handle.

C#

public class SafeOpcFileHandle : SafeHandleZeroOrMinusOneIsInvalid, IDisposable


Inheritance ObjectConstrainedExecution.CriticalFinalizerObjectInteropServices.SafeHandleSafeHandleZeroOrMinusOneIsInvalid › SafeOpcFileHandle


Implements IDisposable

Name Description
SafeOpcFileHandle(OpcFileNodeContext, UInt32) Initializes a new instance of the SafeOpcFileHandle class using the specified context used to acquire the handle value passed.
Name Description
Context Gets the OpcFileNodeContext within that the stored handle has been acquired and will be released in case there the wrapper gets disposed of or closed.
Name Description
ReleaseHandle Executes the code required to free the handle.