# OpcMethodContext Members

> Reference: Provides information and services about the system which belong to the current method call situation.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcMethodContext</a></dd>
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx">Opc.UaFx</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
</dl>

Inherits members from [OpcNodeContext&lt;OpcMethodNode&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodecontext-1/members), [OpcContext](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opccontext/members).

## Properties

### Result

Gets or sets the [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) determining the outcome of the callback routine.

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

```csharp
public OpcResult Result { get; set; }
```

</div>

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

```vbnet
Public Property Result As OpcResult
```

</div>

**Property value**

[OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/)

The [OpcResult](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcresult/) which contains information about the outcome of the invocation of the callback routine.

**Remarks**

The value of this property should be changed by the callback routine in cases there the outcome is unequal to [Good](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#good).

### Target

Gets the target [object](https://learn.microsoft.com/dotnet/api/system.object) to that the method call does belong.

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

```csharp
public object Target { get; }
```

</div>

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

```vbnet
Public ReadOnly Property Target As Object
```

</div>

**Property value**

[Object](https://learn.microsoft.com/dotnet/api/system.object)

The [object](https://learn.microsoft.com/dotnet/api/system.object) which can be a simple [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the parent node of the method node being called or a reference to the [OpcNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnode/) which calls the method. The value of the property can also be of any other type or a null reference (Nothing in Visual Basic).
