Reference
OpcAddReferencesResponse Members
Represents the response of the AddReferences service of OPC UA, which provides the status of each reference added.
Reference
OpcAddReferencesResponse Members
- Type
- OpcAddReferencesResponse
- 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<OpcStatusCollection>, OpcServiceResponse.
Constructors
OpcAddReferencesResponse
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opcheader, no results and no diagnostic information. |
| Opc | Initializes a new instance of the Opcheader and results and no diagnostic information. |
| Opc | Initializes a new instance of the Opcheader, results and diagnosticInfos. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Argument | The header is a null reference ( |
OpcAddReferencesResponse(IOpcServiceResponseHeader)
Initializes a new instance of the OpcAddReferencesResponse class using the specified header, no results and no diagnostic information.
public OpcAddReferencesResponse(IOpcServiceResponseHeader header)Public Sub New(header As IOpcServiceResponseHeader)Parameters
| Name | Type | Description |
|---|---|---|
header | IOpc | The header of the response. |
OpcAddReferencesResponse(IOpcServiceResponseHeader, OpcStatusCollection)
Initializes a new instance of the OpcAddReferencesResponse class using the specified header and results and no diagnostic information.
public OpcAddReferencesResponse(
IOpcServiceResponseHeader header,
OpcStatusCollection results)Public Sub New(
header As IOpcServiceResponseHeader,
results As OpcStatusCollection)Parameters
| Name | Type | Description |
|---|---|---|
header | IOpc | The header of the response. |
results | Opc | The results of the operations in the order of the commands of the request, or a null reference ( |
OpcAddReferencesResponse(IOpcServiceResponseHeader, OpcStatusCollection, DiagnosticInfoCollection)
Initializes a new instance of the OpcAddReferencesResponse class using the specified header, results and diagnosticInfos.
[CLSCompliant(false)]
public OpcAddReferencesResponse(
IOpcServiceResponseHeader header,
OpcStatusCollection results,
DiagnosticInfoCollection diagnosticInfos)<CLSCompliant(False)>
Public Sub New(
header As IOpcServiceResponseHeader,
results As OpcStatusCollection,
diagnosticInfos As DiagnosticInfoCollection)Parameters
| Name | Type | Description |
|---|---|---|
header | IOpc | The header of the response. |
results | Opc | The results of the operations in the order of the commands of the request, or a null reference ( |
diagnosticInfos | Diagnostic | The diagnostic information of the operations, or a null reference ( |
Methods
GetResults
Retrieves the results of the operations of the service.
public override IEnumerable<OpcResult> GetResults()Public Overrides Function GetResults() As IEnumerable(Of OpcResult)Returns
A sequence of the OpcResult of each reference to add in the order of the commands of the request.
Overrides

