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.

C#

[CLSCompliant(false)]
public delegate void OpcFileCloseMethodNode.FileCloseExCallback(OpcMethodContext context, uint fileHandle)


Attributes CLSCompliantAttribute


Parameters

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.

Remarks

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