# OpcServiceResponse&lt;T&gt; Class

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

<span class="api-meta">abstract · since v2.7</span>

<dl class="api-definition">
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx.services">Opc.UaFx.Services</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Members</dt>
<dd><a href="./members">OpcServiceResponse&lt;T&gt; Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

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

## Syntax

<div class="api-signature" data-lang="csharp">

```csharp
public abstract class OpcServiceResponse<T> : OpcServiceResponse
    where T : class, new()
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public MustInherit Class OpcServiceResponse(Of T As {Class, New})
    Inherits OpcServiceResponse
```

</div>

## Type parameters

| Name | Description |
|---|---|
| `T` | The type of the collection of the results. |

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → [OpcServiceResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcserviceresponse/) → **OpcServiceResponse&lt;T&gt;**

## Implements

<ul class="api-implements">
<li><a href="../opc.uafx.services.iopcserviceresponse/">IOpcServiceResponse</a></li>
</ul>

## Derived types

- [OpcAddNodesResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcaddnodesresponse/)
- [OpcAddReferencesResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcaddreferencesresponse/)
- [OpcBrowseNextResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcbrowsenextresponse/)
- [OpcBrowseResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcbrowseresponse/)
- [OpcCallMethodsResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opccallmethodsresponse/)
- [OpcDeleteNodesResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcdeletenodesresponse/)
- [OpcDeleteReferencesResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcdeletereferencesresponse/)
- [OpcReadEventsHistoryResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcreadeventshistoryresponse/)
- [OpcReadNodesHistoryResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcreadnodeshistoryresponse/)
- [OpcReadNodesResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcreadnodesresponse/)
- [OpcRegisterNodesResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcregisternodesresponse/)
- [OpcTranslatePathsResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opctranslatepathsresponse/)
- [OpcUpdateNodesHistoryResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcupdatenodeshistoryresponse/)
- [OpcWriteNodesResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcwritenodesresponse/)

## Constructors

| Name | Description |
|---|---|
| [OpcServiceResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcserviceresponse-1/members#opcserviceresponse)<span class="api-meta">protected · 4 overloads</span> | Initializes a new instance of the OpcServiceResponse&lt;T&gt; class using a new header and no results. |

## Properties

| Name | Description |
|---|---|
| [Results](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcserviceresponse-1/members#results) | Gets the results of the operations of the service. |

Inherits members from [OpcServiceResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcserviceresponse/members).

## Applies to

| Package | Versions |
|---|---|
| Opc.UaFx.Advanced | v2.7–v2.59 |
