OPC Studio User's Guide and Reference
GetMultipleNames Method (IEasyUAFileTransferExtension)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.FileTransfer Namespace > IEasyUAFileTransferExtension Class : GetMultipleNames Method
The OPC UA file transfer object that will perform the operation.
Endpoint descriptor. Identifies the OPC-UA server.
An array of node descriptor of files or directories whose names should be obtained.
Obtains names of given OPC UA file or directory objects.
Syntax
'Declaration
 
<ExtensionAttribute()>
<ElementsNotNullAttribute()>
<NotNullAttribute()>
Public Shared Function GetMultipleNames( _
   ByVal fileTransfer As IEasyUAFileTransfer, _
   ByVal endpointDescriptor As UAEndpointDescriptor, _
   ByVal fileOrDirectoryNodeDescriptorArray As IReadOnlyList(Of UANodeDescriptor) _
) As ValueResult(Of String)()
'Usage
 
Dim fileTransfer As IEasyUAFileTransfer
Dim endpointDescriptor As UAEndpointDescriptor
Dim fileOrDirectoryNodeDescriptorArray As IReadOnlyList(Of UANodeDescriptor)
Dim value() As ValueResult(Of String)
 
value = IEasyUAFileTransferExtension.GetMultipleNames(fileTransfer, endpointDescriptor, fileOrDirectoryNodeDescriptorArray)

Parameters

fileTransfer
The OPC UA file transfer object that will perform the operation.
endpointDescriptor
Endpoint descriptor. Identifies the OPC-UA server.
fileOrDirectoryNodeDescriptorArray
An array of node descriptor of files or directories whose names should be obtained.

Return Value

Returns an array of value result objects, with objects that contain the name of file (in case of success) or an exception indication (in case of failure).
Exceptions
ExceptionDescription

A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also