NotificationTriggerSource.Add Method

Adds the specified observer.

Namespace:  TwinCAT.Ads.Server
Assembly:  TwinCAT.Ads.SymbolicServer (in TwinCAT.Ads.SymbolicServer.dll) Version: 6.0.328+39e3229

Syntax

C#

public IAddNotificationTrigger Add(
    INotificationTrigger observer
)

Parameters

observer

Type: TwinCAT.Ads.Server.INotificationTrigger
The observer.

Return Value

Type: IAddNotificationTrigger
IAddNotificationTrigger.

Implements

IAddNotificationTrigger.Add(INotificationTrigger)

Exceptions

Exception

Condition

ObjectDisposedException

NotificationTriggerSource

Reference

NotificationTriggerSource Class

TwinCAT.Ads.Server Namespace