Skip to content

Reference

OpcServerStateChangedEventArgs Members

Provides the event data for the StateChanged event.

Reference

OpcServerStateChangedEventArgs Members ​

Type
OpcServerStateChangedEventArgs
Namespace
Opc.UaFx.Server
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0

Inherits members from EventArgs.

Constructors ​

OpcServerStateChangedEventArgs ​

Initializes a new instance of the OpcServerStateChangedEventArgs class using the specified oldState and newState.

csharp
public OpcServerStateChangedEventArgs(
    OpcServerState oldState,
    OpcServerState newState)
vbnet
Public Sub New(oldState As OpcServerState, newState As OpcServerState)

Parameters

NameTypeDescription
oldStateOpcServerStateThe state before the change.
newStateOpcServerStateThe state after the change.

Properties ​

NewState ​

Gets the state after the change.

csharp
public OpcServerState NewState { get; }
vbnet
Public ReadOnly Property NewState As OpcServerState

Property value

OpcServerState

The OpcServerState after the change.

OldState ​

Gets the state before the change.

csharp
public OpcServerState OldState { get; }
vbnet
Public ReadOnly Property OldState As OpcServerState

Property value

OpcServerState

The OpcServerState before the change.