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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.FileTransfer Namespace > EasyUAFileTransferClientCore Class : GetMultipleNames Method
An array of arguments specifying the server endpoints and node descriptors of the file or directory object nodes.
Gets names of multiple OPC UA files or directories, specified by their object nodes.
Syntax
'Declaration
 
Public Function GetMultipleNames( _
   ByVal fileOrDirectoryNodeArgumentsArray As IReadOnlyList(Of UANodeArguments) _
) As ValueResult(Of String)()
'Usage
 
Dim instance As EasyUAFileTransferClientCore
Dim fileOrDirectoryNodeArgumentsArray As IReadOnlyList(Of UANodeArguments)
Dim value() As ValueResult(Of String)
 
value = instance.GetMultipleNames(fileOrDirectoryNodeArgumentsArray)

Parameters

fileOrDirectoryNodeArgumentsArray
An array of arguments specifying the server endpoints and node descriptors of the file or directory object nodes.

Return Value

Returns an array of value result objects. Each element of the array corresponds to the element with the same index in the fileOrDirectoryNodeArgumentsArray, and it contains either a name (string) of the file or directory, or a failure indications (in the OpcLabs.BaseLib.OperationModel.OperationResult.Exception property.)
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.

Remarks

This method does not throw the OpcLabs.EasyOpc.UA.OperationModel.UAException. Failures related to each operand are indicated in the returned OpcLabs.BaseLib.OperationModel.Generic.ValueResult<T> objects.

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

Reference

EasyUAFileTransferClientCore Class
EasyUAFileTransferClientCore Members
GetDirectoryName Method
GetFileName Method
GetName Method
OpcLabs.EasyOpc.UA.FileTransfer.IEasyUAFileTransferExtension.GetMultipleNames(OpcLabs.EasyOpc.UA.FileTransfer.IEasyUAFileTransfer,OpcLabs.EasyOpc.UA.UAEndpointDescriptor,System.Collections.Generic.IReadOnlyList{OpcLabs.EasyOpc.UA.UANodeDescriptor})