OPC Studio User's Guide and Reference
Create(AEEventsSubscriptionArguments) Method



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.AlarmsAndEvents.Reactive Namespace > AENotificationObservable Class > Create Method : Create(AEEventsSubscriptionArguments) Method
Contains the OPC events to be observed.

The value of this parameter cannot be null (Nothing in Visual Basic).

Creates a new notification observable for OPC events given by OpcLabs.EasyOpc.AlarmsAndEvents.OperationModel.AEEventsSubscriptionArguments object.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Overloads Shared Function Create( _
   ByVal args As AEEventsSubscriptionArguments _
) As AENotificationObservable
'Usage
 
Dim args As AEEventsSubscriptionArguments
Dim value As AENotificationObservable
 
value = AENotificationObservable.Create(args)
[NotNull()]
public static AENotificationObservable Create( 
   AEEventsSubscriptionArguments args
)
[NotNull()]
public:
static AENotificationObservable^ Create( 
   AEEventsSubscriptionArguments^ args
) 

Parameters

args
Contains the OPC events to be observed.

The value of this parameter cannot be null (Nothing in Visual Basic).

Return Value

Returns an observable for notifications about given OPC events.

This method never returns null (Nothing in Visual Basic).

Remarks
The AEReactive.DefaultClientSelector selector will be used for OPC Alarms&Events operations.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also