OpcFileCloseMethodNode.FileCloseExCallback Delegate

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

Closes the file represented. When a client closes a file the handle becomes invalid.


public delegate void FileCloseExCallback(OpcMethodContext context, [OpcArgument("FileHandle", Description = "The file handle associated with the file to close.")] uint fileHandle);

Attributes CLSCompliantAttribute


context OpcMethodContext

The OpcMethodContext to use when closing the file. This instance will be also updated with the outcome of the method call.

fileHandle UInt32

A file handle indicating the access request and thus indirectly the position inside the file.


This method does provide the following OpcResult information: * BadInvalidArgumentThe file handle specified by fileHandle or the SessionId is not known.