Skip to content

Reference

OpcServiceResponse Members

Defines the base class of the responses of the services of OPC UA which provide their results as a T.

Reference

OpcServiceResponse<T> Members ​

Type
OpcServiceResponse<T>
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.

Constructors ​

OpcServiceResponse ​

protected · 4 overloads

OverloadDescription
OpcServiceResponse()protectedInitializes a new instance of the OpcServiceResponse<T> class using a new header and no results.
OpcServiceResponse(IOpcServiceResponseHeader)protectedInitializes a new instance of the OpcServiceResponse<T> class using the specified header, no results and no diagnostic information.
OpcServiceResponse(IOpcServiceResponseHeader, DiagnosticInfoCollection)protectedInitializes a new instance of the OpcServiceResponse<T> class using the specified header and diagnosticInfos and no results.
OpcServiceResponse(IOpcServiceResponseHeader, T, DiagnosticInfoCollection)protectedInitializes a new instance of the OpcServiceResponse<T> class using the specified header, results and diagnosticInfos.

OpcServiceResponse() ​

protected

Initializes a new instance of the OpcServiceResponse<T> class using a new header and no results.

csharp
protected OpcServiceResponse()
vbnet
Protected Sub New()

OpcServiceResponse(IOpcServiceResponseHeader) ​

protected

Initializes a new instance of the OpcServiceResponse<T> class using the specified header, no results and no diagnostic information.

csharp
protected OpcServiceResponse(IOpcServiceResponseHeader header)
vbnet
Protected Sub New(header As IOpcServiceResponseHeader)

Parameters

NameTypeDescription
headerIOpcServiceResponseHeaderThe header of the response.

Exceptions

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

OpcServiceResponse(IOpcServiceResponseHeader, DiagnosticInfoCollection) ​

protected

Initializes a new instance of the OpcServiceResponse<T> class using the specified header and diagnosticInfos and no results.

csharp
protected OpcServiceResponse(
    IOpcServiceResponseHeader header,
    DiagnosticInfoCollection diagnosticInfos)
vbnet
Protected Sub New(
    header As IOpcServiceResponseHeader,
    diagnosticInfos As DiagnosticInfoCollection)

Parameters

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

Exceptions

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

OpcServiceResponse(IOpcServiceResponseHeader, T, DiagnosticInfoCollection) ​

protected

Initializes a new instance of the OpcServiceResponse<T> class using the specified header, results and diagnosticInfos.

csharp
protected OpcServiceResponse(
    IOpcServiceResponseHeader header,
    T results,
    DiagnosticInfoCollection diagnosticInfos)
vbnet
Protected Sub New(
    header As IOpcServiceResponseHeader,
    results As T,
    diagnosticInfos As DiagnosticInfoCollection)

Parameters

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

Exceptions

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

Properties ​

Results ​

Gets the results of the operations of the service.

csharp
public T Results { get; protected set; }
vbnet
Public Property Results As T

Property value

T

The T which contains the results of the operations.