
# IEDMS_NotificationServiceEvents interface

*No description yet.*

```csharp
public interface IEDMS_NotificationServiceEvents
```

**Namespace:** DXP · **Assembly:** Altium.SDK.Interfaces

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [OnConnect](#onconnect) | `void` |  |
| [OnDisconnect](#ondisconnect) | `void` |  |
| [OnMessage](#onmessage) | `void` |  |

### OnConnect

*No description yet.*

```csharp
void OnConnect();
```

**Returns:** nothing (`void`)

### OnDisconnect

*No description yet.*

```csharp
void OnDisconnect(int argCloseCode, string argCloseReason);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argCloseCode` | `int` | value |
| `argCloseReason` | `string` | value |

**Returns:** nothing (`void`)

### OnMessage

*No description yet.*

```csharp
void OnMessage(string argTextMessage);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argTextMessage` | `string` | value |

**Returns:** nothing (`void`)

## Accepted by

[IEDMS_NotificationService.SetEvents](https://altiumdeveloper.github.io/ad-sdk-docs/reference/dxp/IEDMS_NotificationService.md#setevents)
