Reference
OpcFileOpenMethodNode.FileOpenCallback Delegate
Opens the file represented.
Reference
OpcFileOpenMethodNode.FileOpenCallback Delegate
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Opens the file represented. When a client opens a file it gets a file handle that is valid while the session is open. Clients shall use the Close Method to release the file handle when they do not need access to the file anymore. Clients can open the same file several times for read.
Syntax
csharp
[CLSCompliant(false)]
public delegate uint OpcFileOpenMethodNode.FileOpenCallback(byte mode)vbnet
<CLSCompliant(False)>
Public Delegate Function OpcFileOpenMethodNode.FileOpenCallback(
mode As Byte) As UIntegerParameters
| Name | Type | Description |
|---|---|---|
mode | Byte | Indicates whether the file should be opened only for read operations or for read and write operations and where the initial position is set. |
Returns
A handle for the file used in other method calls indicating not the file but the access request and thus the position in the file. The file handle is generated by the server and is unique for the Session. Clients cannot transfer the file handle to another Session but need to get a new file handle by calling the Open Method.
Applies to
| Package | Versions |
|---|---|
| Opc. | v2. |

