# OpcSessionActivationFailedEventArgs Members

> Reference: Provides the data of the SessionActivationFailed event.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcSessionActivationFailedEventArgs</a></dd>
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx.server">Opc.UaFx.Server</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 [EventArgs](https://learn.microsoft.com/dotnet/api/system.eventargs).

## Properties

### Context

Gets the context of the rejected request, among others its endpoint and socket.

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

```csharp
public OpcOperationContext Context { get; }
```

</div>

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

```vbnet
Public ReadOnly Property Context As OpcOperationContext
```

</div>

**Property value**

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

The context, or a null reference (Nothing in Visual Basic) if it is unknown.

### Identity

Gets the identity the client stated.

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

```csharp
public OpcIdentityTokenInfo Identity { get; }
```

</div>

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

```vbnet
Public ReadOnly Property Identity As OpcIdentityTokenInfo
```

</div>

**Property value**

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

The identity, or a null reference (Nothing in Visual Basic) if the client stated an identity of an unknown type.

### Status

Gets the status the activation failed with.

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

```csharp
public OpcStatus Status { get; }
```

</div>

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

```vbnet
Public ReadOnly Property Status As OpcStatus
```

</div>

**Property value**

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