4.2.3 Close

Close is used to close a file represented by a FileType. When a client closes a file, the handle becomes invalid.

Signature

	Close(
		 [in] UInt32 fileHandle
		);
Argument Description
fileHandleA handle indicating the access request and thus indirectly the position inside the file.

Method Result Codes (defined in Call Service)

Result Code Description
Bad_InvalidArgumentSee OPC 10000-4 for a general description. Invalid file handle in call.

Table 3 specifies the AddressSpace representation for the Close Method.

Table 3 – Close Method AddressSpace definition
Attribute Value
BrowseNameClose
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasPropertyVariableInputArgumentsArgument[] PropertyTypeMandatory
Conformance Units
Base Info FileType Base