.NET Based OPC UA Client/Server SDK  3.3.0.530
UnifiedAutomation.UaServer.PropertyChangeRequestedEventArgs Class Reference

The event arguments for the INotifyPropertyChangeRequested.PropertyChangeRequested event. More...

Inherits EventArgs.

Public Member Functions

 PropertyChangeRequestedEventArgs (string propertyName, object value)
 Creates a new instance. More...
 

Public Attributes

bool IsValueReplaced => m_isValueReplaced
 true if it the Value was changed by one of the recipients, otherwise false. More...
 

Properties

StatusCode StatusCode [get, set]
 The status code associated with the change. More...
 
object Value [get, set]
 The value, which is requested to be assigned. This can be changed by the recipient for example to clamp the value to a certain range. More...
 
string PropertyName [get]
 The property name. More...
 

Detailed Description

The event arguments for the INotifyPropertyChangeRequested.PropertyChangeRequested event.

Constructor & Destructor Documentation

UnifiedAutomation.UaServer.PropertyChangeRequestedEventArgs.PropertyChangeRequestedEventArgs ( string  propertyName,
object  value 
)

Creates a new instance.

Parameters
propertyNameThe property name.
valueThe value.

Member Data Documentation

bool UnifiedAutomation.UaServer.PropertyChangeRequestedEventArgs.IsValueReplaced => m_isValueReplaced

true if it the Value was changed by one of the recipients, otherwise false.

Property Documentation

string UnifiedAutomation.UaServer.PropertyChangeRequestedEventArgs.PropertyName
get

The property name.

StatusCode UnifiedAutomation.UaServer.PropertyChangeRequestedEventArgs.StatusCode
getset

The status code associated with the change.

The default is StatusCodes.Good. If the status code is not good, the property setter should throw a StatusException immediately. If the status code is good, but with a code different to the default value, the property setter should throw, after assigning the backing field.

object UnifiedAutomation.UaServer.PropertyChangeRequestedEventArgs.Value
getset

The value, which is requested to be assigned. This can be changed by the recipient for example to clamp the value to a certain range.


The documentation for this class was generated from the following file: