Skip to content

Reference

OpcRegisterNodesResponse Members

Represents the response of the RegisterNodes service of OPC UA, which provides the identifiers to use to access the nodes registered.

Reference

OpcRegisterNodesResponse Members ​

Type
OpcRegisterNodesResponse
Namespace
Opc.UaFx.Services
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Inherits members from OpcServiceResponse<OpcNodeIdCollection>, OpcServiceResponse.

Constructors ​

OpcRegisterNodesResponse ​

3 overloads

OverloadDescription
OpcRegisterNodesResponse(IOpcServiceResponseHeader)Initializes a new instance of the OpcRegisterNodesResponse class using the specified header, no results and no diagnostic information.
OpcRegisterNodesResponse(IOpcServiceResponseHeader, OpcNodeIdCollection)Initializes a new instance of the OpcRegisterNodesResponse class using the specified header and results and no diagnostic information.
OpcRegisterNodesResponse(IOpcServiceResponseHeader, OpcNodeIdCollection, DiagnosticInfoCollection)Initializes a new instance of the OpcRegisterNodesResponse class using the specified header, results and diagnosticInfos.

Exceptions (all overloads)

ExceptionCondition
ArgumentNullExceptionThe header is a null reference (Nothing in Visual Basic).

OpcRegisterNodesResponse(IOpcServiceResponseHeader) ​

Initializes a new instance of the OpcRegisterNodesResponse class using the specified header, no results and no diagnostic information.

csharp
public OpcRegisterNodesResponse(IOpcServiceResponseHeader header)
vbnet
Public Sub New(header As IOpcServiceResponseHeader)

Parameters

NameTypeDescription
headerIOpcServiceResponseHeaderThe header of the response.

OpcRegisterNodesResponse(IOpcServiceResponseHeader, OpcNodeIdCollection) ​

Initializes a new instance of the OpcRegisterNodesResponse class using the specified header and results and no diagnostic information.

csharp
public OpcRegisterNodesResponse(
    IOpcServiceResponseHeader header,
    OpcNodeIdCollection results)
vbnet
Public Sub New(
    header As IOpcServiceResponseHeader,
    results As OpcNodeIdCollection)

Parameters

NameTypeDescription
headerIOpcServiceResponseHeaderThe header of the response.
resultsOpcNodeIdCollectionThe results of the operations in the order of the commands of the request, or a null reference (Nothing in Visual Basic) for none.

OpcRegisterNodesResponse(IOpcServiceResponseHeader, OpcNodeIdCollection, DiagnosticInfoCollection) ​

Initializes a new instance of the OpcRegisterNodesResponse class using the specified header, results and diagnosticInfos.

csharp
[CLSCompliant(false)]
public OpcRegisterNodesResponse(
    IOpcServiceResponseHeader header,
    OpcNodeIdCollection results,
    DiagnosticInfoCollection diagnosticInfos)
vbnet
<CLSCompliant(False)>
Public Sub New(
    header As IOpcServiceResponseHeader,
    results As OpcNodeIdCollection,
    diagnosticInfos As DiagnosticInfoCollection)

Parameters

NameTypeDescription
headerIOpcServiceResponseHeaderThe header of the response.
resultsOpcNodeIdCollectionThe results of the operations in the order of the commands of the request, or a null reference (Nothing in Visual Basic) for none.
diagnosticInfosDiagnosticInfoCollectionThe diagnostic information of the operations, or a null reference (Nothing in Visual Basic) for none.

Methods ​

GetResults ​

override · since v2.19

Retrieves the results of the operations of the service.

csharp
public override IEnumerable<OpcResult> GetResults()
vbnet
Public Overrides Function GetResults() As IEnumerable(Of OpcResult)

Returns

IEnumerable<OpcResult>

A sequence with a good OpcResult for each identifier of the Results, because the service does not provide results of its operations.

Overrides

GetResults