OpcClient Members

Namespace: Opc.UaFx.Client
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcClient type exposes the following members.

OpcClient()

Initializes a new instance of the OpcClient class.

C#

public OpcClient()

OpcClient(String)

Initializes a new instance of the OpcClient class using the specified serverAddress.

C#

public OpcClient(string serverAddress)


Parameters

serverAddress String

The URI of the OPC UA server to operate on.


Exceptions

ArgumentException

The serverAddress is an empty string.

ArgumentNullException

The serverAddress is a null reference (Nothing in Visual Basic).

UriFormatException

The serverAddress is not a valid URI.

OpcClient(String, OpcSecurityPolicy)

Initializes a new instance of the OpcClient class using the specified serverAddress and endpointPolicy.

C#

public OpcClient(string serverAddress, OpcSecurityPolicy endpointPolicy)


Parameters

serverAddress String

The URI of the OPC UA server to operate on.

endpointPolicy OpcSecurityPolicy

The preferred security policy configuration which is to be provided by one of the endpoints defined by the server to operate on.


Exceptions

ArgumentException

The serverAddress is an empty string.

ArgumentNullException

The serverAddress or endpointPolicy is a null reference (Nothing in Visual Basic).

UriFormatException

The serverAddress is not a valid URI.

OpcClient(Uri)

Initializes a new instance of the OpcClient class using the specified serverAddress.

C#

public OpcClient(Uri serverAddress)


Parameters

serverAddress Uri

The Uri of the OPC UA server to operate on.


Exceptions

ArgumentNullException

The serverAddress is a null reference (Nothing in Visual Basic).

OpcClient(Uri, OpcSecurityPolicy)

Initializes a new instance of the OpcClient class using the specified serverAddress and endpointPolicy.

C#

public OpcClient(Uri serverAddress, OpcSecurityPolicy endpointPolicy)


Parameters

serverAddress Uri

The Uri of the OPC UA server to operate on.

endpointPolicy OpcSecurityPolicy

The preferred security policy configuration which is to be provided by one of the endpoints defined by the server to operate on.


Exceptions

ArgumentNullException

The serverAddress or endpointPolicy is a null reference (Nothing in Visual Basic).

DefaultDisconnectTimeout

Represents the default timeout value that is used by the OpcClient as initial value of the DisconnectTimeout property.

C#

public static readonly int DefaultDisconnectTimeout


Field Value
Int32

DefaultOperationTimeout

Represents the default timeout value that is used by the OpcClient as initial value of the OperationTimeout property.

C#

public static readonly int DefaultOperationTimeout


Field Value
Int32

DefaultReconnectTimeout

Represents the default timeout value that is used by the OpcClient as initial value of the ReconnectTimeout property.

C#

public static readonly int DefaultReconnectTimeout


Field Value
Int32

DefaultSessionTimeout

Represents the default timeout value that is used by the OpcClient as initial value of the SessionTimeout property.

C#

public static readonly int DefaultSessionTimeout


Field Value
Int32

BreakDetected

Occurs when a connection break has been detected.

C#

public event EventHandler BreakDetected

CertificateJudgement

Occurs when the validation of a opponent application instance certificate has already fulfilled the requirements for valid and trusted certificates, but while being connected the server may behave different regarding its initially offered certificate.

C#

public event OpcCertificateJudgementEventHandler CertificateJudgement


Remarks

This event can be used to substitute the default judgement of such potential suspect situations which would otherwise throw an exception.

Connected

Occurs when the OpcClient has successfully established a connection to the server using a new session.

C#

public event EventHandler Connected

Connecting

Occurs when the OpcClient is about to establish a connection to the server.

C#

public event EventHandler Connecting

DataChangeReceived

C#

public event OpcDataChangeReceivedEventHandler DataChangeReceived

DialogRequested

Occurs when a monitored item receives an OpcDialogCondition event notification which is not handled by any OpcEventReceivedEventHandler and can be therefore used to explictly respond to OpcDialogCondition events.

C#

public event OpcDialogRequestedEventHandler DialogRequested


Remarks

This event only occurs if an event is not handled by the according EventReceived handler, not handled by the EventReceived handler of the OpcSubscription of the OpcMonitoredItem and also not handled by the OpcClient through its EventReceived handler which owns the OpcSubscription.

Disconnected

Occurs when the OpcClient has successfully terminated a connection to the server.

C#

public event EventHandler Disconnected

Disconnecting

Occurs when the OpcClient is about to terminate a connection to the server.

C#

public event EventHandler Disconnecting

EventReceived

Occurs when a monitored item receives an event notification which is not handled by any other OpcEventReceivedEventHandler.

C#

public event OpcEventReceivedEventHandler EventReceived


Remarks

This event only occurs if an event is not handled by the according EventReceived handler and also not handled by the EventReceived handler of the OpcSubscription of the OpcMonitoredItem.

NotificationReceived

Occurs when the OpcClient received a notification message form the server connected to.

C#

public event OpcNotificationReceivedEventHandler NotificationReceived

Reconnected

Occurs when the OpcClient has successfully re-established a broken connection to the server using the previously used session.

C#

public event EventHandler Reconnected

Reconnecting

Occurs when the OpcClient is about to re-establish a broken connection to the server.

C#

public event EventHandler Reconnecting

StateChanged

Occurs when ever the State property has been changed to a different value.

C#

public event EventHandler<OpcClientStateChangedEventArgs> StateChanged

SubscriptionsChanged

C#

public event EventHandler SubscriptionsChanged

ApplicationName

Gets or sets the name of the client application.

C#

public override string ApplicationName { get; set; }


Property Value

String

The name of the application. The default value is “OPC Application” in case there is no entry assembly available; otherwise the value of the AssemblyTitleAttribute of the entry assembly.



Remarks

The name does not have to be unique. In case there is no SessionName used the ApplicationName is used as the session name instead. The value of this property is also used as the Cryptography.X509Certificates.X509Certificate2.SubjectName of the application certificate whenever an application certificate is to be created/looked-up (from the application certificates store).

Configuration

Gets or sets an instance of the OpcApplicationConfiguration class which is used as a low-level representation of the code/file based client application configuration.

C#

[CLSCompliant(false)]
public override OpcApplicationConfiguration Configuration { get; set; }


Property Value

OpcApplicationConfiguration

An instance of the OpcApplicationConfiguration class configured with the client specific setup to use. An assignment of a null reference (Nothing in Visual Basic) will lead to the creation of a new instance of the OpcApplicationConfiguration class with all defaults typically used by client applications.



Remarks

A file based OpcApplicationConfiguration needs to be loaded manually either using a specific config-section in its App.config (see LoadClientConfig(String)) or using a custom file using LoadClientConfigFile(String). A low-level code based client configuration can be directly performed using an instance of the OpcApplicationConfiguration like the instance provided by this property.

DefaultSubscription

C#

public OpcSubscription DefaultSubscription { get; set; }


Property Value

OpcSubscription

DisconnectTimeout

Gets or sets the wait time before terminating the attempt to shut-down an activated session.

C#

public int DisconnectTimeout { get; set; }


Property Value

Int32

The time in milliseconds to wait before terminating the attempt to shut-down an activated session.



Exceptions

ArgumentOutOfRangeException

The value is less than zero.



Remarks

The default value of this property is DefaultDisconnectTimeout.

Interfaces

Gets the OpcClientInterfaces instance which provides options to control the access to the different OPC Classic interfaces used/provided by the OpcClient.

C#

public OpcClientInterfaces Interfaces { get; }


Property Value

OpcClientInterfaces

An instance of the OpcClientInterfaces class which can be used to control the access to the different interfaces accessed.

KeepAlive

C#

public OpcClientKeepAlive KeepAlive { get; }


Property Value

OpcClientKeepAlive

Locales

Gets a collection of locales supported/used by the client.

C#

public OpcLocaleCollection Locales { get; }


Property Value

OpcLocaleCollection

An instance of the OpcLocaleCollection which can be used to setup the supported/used locales. While each entry is a pure string representation of the locales supported/used it is important to use the same notation of the values provided by CultureInfo.Name (e.g. 'en' for english locales or 'de' for german locales, …). Leave the collection provided empty to use the servers default locale.

Namespaces

Gets a read-only collection of namespaces used by the server connected to.

C#

public override OpcReadOnlyNamespaceCollection Namespaces { get; }


Property Value

OpcReadOnlyNamespaceCollection

An instance of the OpcReadOnlyNamespaceCollection class with OpcNamespace items for each 'NamespaceUri' used by the server to organize the nodes in its address space.



Remarks

The items in the OpcReadOnlyNamespaceCollection provided are created while a connection is established to the server. The items are additionally re-created whenever the OpcClient reconnects to the server.

NodeSet

Gets or sets the OpcNodeSet which is offered by the server the client is operating on. The OpcClient uses the information in the node set to discover nodes, references and types “offline” (without the need to frequently query the server for the necessary information).

C#

public OpcNodeSet NodeSet { get; set; }


Property Value

OpcNodeSet

An instance of the OpcNodeSet class which offers information about the nodes, references and types declared and used by the server the client is operating on. If specified the client can reduce the amount of data requests and performs much faster. In case there is no OpcNodeSet specified a null reference (Nothing in Visual Basic).

OperationTimeout

Gets or sets the wait time before terminating an operation being processed by the server.

C#

public int OperationTimeout { get; set; }


Property Value

Int32

The time in milliseconds to wait before terminating an operation being processed by the server.



Remarks

The default value of this property is DefaultOperationTimeout.

ReconnectTimeout

Gets or sets the wait time before terminating the attempt to reconnect to a halted session. This does therefore also represent the time between reconnect attempts.

C#

public int ReconnectTimeout { get; set; }


Property Value

Int32

The time in milliseconds to wait before terminating the attempt to reconnect to a halted session. A value equals zero indicates that there is no reconnect attempt performed.



Exceptions

ArgumentOutOfRangeException

The value is less than zero.



Remarks

The default value of this property is DefaultReconnectTimeout.

ServerAddress

Gets or sets the Uri of the OPC UA server to operate on.

C#

public Uri ServerAddress { get; set; }


Property Value

Uri

An instance of the Uri class which provides the necessary resource information to establish a connection to the server to operate on.



Exceptions

ArgumentNullException

The value is a null reference (Nothing in Visual Basic).

ServerInterfaces

Gets a collection of OPC Classic interfaces supported by the server and used by the client. The general available interfaces are listed in the OpcClassicInterfaces class.

C#

public OpcClassicInterfaceCollection ServerInterfaces { get; }


Property Value

OpcClassicInterfaceCollection

An instance of the OpcClassicInterfaceCollection items are used when accessing an OPC Classic server.



Remarks

Preselecting the interfaces provided by a server will significantly improve the performance when connecting to an OPC Classic server, because of the supported interfaces will then not queried first via OPC Classic discovery.

Services

Gets the OpcClientServices instance which provides direct access to the different OPC UA services used/provided by the OpcClient.

C#

public OpcClientServices Services { get; }


Property Value

OpcClientServices

An instance of the OpcClientServices class which can be used to directly interact with the different services or to perform very low-level configurations to control their behavior.

SessionName

Gets or sets the name to use for sessions to identify a session of this client.

C#

public string SessionName { get; set; }


Property Value

String

The name to use for the next session created and activated through this client.

SessionTimeout

Gets or sets the wait time before an active session is handled as expired.

C#

public int SessionTimeout { get; set; }


Property Value

Int32

The time in milliseconds to wait before an active session is handled as expired.



Exceptions

ArgumentOutOfRangeException

The value is less than zero.



Remarks

The default value of this property is DefaultSessionTimeout.

State

Gets a value that indicates the current state of the client regarding its channel used to communicate with the endpoint defined by ServerAddress and EndpointPolicy setup via Security.

C#

public OpcClientState State { get; }


Property Value

OpcClientState

One of the members defined by the OpcClientState enumeration. Which specifies the current state of the client. The initial value of this property is Created. Any subsequent transition of the value of this property will never change the value of this property back to its initial value (= Created).



Remarks

Depending on the current state different actions are either allowed, disallowed or functional on the current OpcClient instance.

Subscriptions

C#

public OpcSubscriptionReadOnlyCollection Subscriptions { get; }


Property Value

OpcSubscriptionReadOnlyCollection

SystemContext

Gets the OpcContext which is used to store the context sensitive data and configuration used by the current OpcClient instance.

C#

public override OpcContext SystemContext { get; }


Property Value

OpcContext

An instance of the OpcContext class which might be at least Empty.

UseBreakDetection

Gets or sets a value indicating whether a connection break detection is to be used.

C#

public bool UseBreakDetection { get; set; }


Property Value

Boolean

The value true if connection breaks have to be detected; otherwise the value false.



Remarks

The default value of this property is true.

UsedEndpoint

Gets the OpcEndpointDescription of the servers provided endpoints which has been selected by the client to connect to the server.

C#

public OpcEndpointDescription UsedEndpoint { get; }


Property Value

OpcEndpointDescription

An instance of the OpcEndpointDescription representing the metadata of the endpoint of the endpoint to which the client has established a connection.

UseDynamic

Gets or sets a value indicating whether the current OpcClient shall use generic types to represent OPC UA server defined custom types. To do so the client will determine the necessary type information from the server directly after a connection to the server has been established using Connect.

C#

public bool UseDynamic { get; set; }


Property Value

Boolean

The value true if the current OpcClient shall use generic types constructed from the type information offered by the server; otherwise the value false. The default value is determined by the UseDynamic property.

AddNode(OpcAddNode)

Adds a new node into the address space hierarchy using the command specified.

C#

public OpcAddNodeResult AddNode(OpcAddNode command)


Parameters

command OpcAddNode

The OpcAddNode instance to process.


Returns

OpcAddNodeResult

An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the command specified; together with information about the outcome of the processed command.



Exceptions

ArgumentNullException

The command is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the command specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the command specified are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

AddNodes(IEnumerable<OpcAddNode>)

Adds one or more nodes into the address space hierarchy using the commands specified.

C#

public OpcAddNodeResultCollection AddNodes(IEnumerable<OpcAddNode> commands)


Parameters

commands IEnumerable<OpcAddNode>

A sequence of OpcAddNode instances to process.


Returns

OpcAddNodeResultCollection

An instance of the OpcAddNodeResultCollection class which contains the node identifiers used or created for the nodes added through the commands specified; together with information about the outcome of each processed command.



Exceptions

ArgumentNullException

The commands sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the commands specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the commands specified are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

AddNodes(OpcAddNode[])

Adds one or more nodes into the address space hierarchy using the commands specified.

C#

public OpcAddNodeResultCollection AddNodes(params OpcAddNode[] commands)


Parameters

commands OpcAddNode[]

An array of OpcAddNode instances to process.


Returns

OpcAddNodeResultCollection

An instance of the OpcAddNodeResultCollection class which contains the node identifiers used or created for the nodes added through the commands specified; together with information about the outcome of each processed command.



Exceptions

ArgumentNullException

The commands sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the commands specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the commands specified are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

AddObjectNode(OpcObjectType, OpcName)

Adds a new object node into the address space hierarchy using the specified type of object node to add, which shall be accessible by the name defined. The according OpcNodeId to identify and access the new node is determined by the service. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.

C#

public OpcAddNodeResult AddObjectNode(OpcObjectType type, OpcName name)


Parameters

type OpcObjectType

One of the members defined by the OpcObjectType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.

name OpcName

The OpcName through that the new object node can be accessed.


Returns

OpcAddNodeResult

An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.



Exceptions

ArgumentException

The name is equals Null.

ArgumentNullException

The name is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

AddObjectNode(OpcObjectType, OpcName, OpcAddInstanceNode[])

Adds a new object node into the address space hierarchy using the specified type of object node to add, which shall be accessible by the name defined. The according OpcNodeId to identify and access the new node is determined by the service. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.

C#

public OpcAddNodeResult AddObjectNode(OpcObjectType type, OpcName name, params OpcAddInstanceNode[] children)


Parameters

type OpcObjectType

One of the members defined by the OpcObjectType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.

name OpcName

The OpcName through that the new object node can be accessed.

children OpcAddInstanceNode[]

The initial child nodes of the node to add.


Returns

OpcAddNodeResult

An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.



Exceptions

ArgumentException

The name is equals Null.

ArgumentNullException

The name is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

AddObjectNode(OpcObjectType, OpcName, OpcNodeId)

Adds a new object node into the address space hierarchy using the specified type of object node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.

C#

public OpcAddNodeResult AddObjectNode(OpcObjectType type, OpcName name, OpcNodeId nodeId)


Parameters

type OpcObjectType

One of the members defined by the OpcObjectType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.

name OpcName

The OpcName through that the new object node can be accessed.

nodeId OpcNodeId

The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.


Returns

OpcAddNodeResult

An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.



Exceptions

ArgumentException

The name is equals Null.

ArgumentNullException

The name or nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

AddObjectNode(OpcObjectType, OpcName, OpcNodeId, OpcAddInstanceNode[])

Adds a new object node into the address space hierarchy using the specified type of object node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.

C#

public OpcAddNodeResult AddObjectNode(OpcObjectType type, OpcName name, OpcNodeId nodeId, params OpcAddInstanceNode[] children)


Parameters

type OpcObjectType

One of the members defined by the OpcObjectType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.

name OpcName

The OpcName through that the new object node can be accessed.

nodeId OpcNodeId

The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.

children OpcAddInstanceNode[]

The initial child nodes of the node to add.


Returns

OpcAddNodeResult

An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.



Exceptions

ArgumentException

The name is equals Null.

ArgumentNullException

The name or nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

AddObjectNode(OpcObjectType, OpcName, OpcNodeId, OpcNodeId)

Adds a new object node into the address space hierarchy using the specified type of object node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using HasComponent as the type of reference.

C#

public OpcAddNodeResult AddObjectNode(OpcObjectType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId)


Parameters

type OpcObjectType

One of the members defined by the OpcObjectType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.

name OpcName

The OpcName through that the new object node can be accessed.

nodeId OpcNodeId

The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.

parentNodeId OpcNodeId

The OpcNodeId of the parent node to reference using HasComponent as the type of reference.


Returns

OpcAddNodeResult

An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.



Exceptions

ArgumentException

The parentNodeId is equals Null or name is equals Null.

ArgumentNullException

The name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

AddObjectNode(OpcObjectType, OpcName, OpcNodeId, OpcNodeId, OpcAddInstanceNode[])

Adds a new object node into the address space hierarchy using the specified type of object node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using HasComponent as the type of reference.

C#

public OpcAddNodeResult AddObjectNode(OpcObjectType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, params OpcAddInstanceNode[] children)


Parameters

type OpcObjectType

One of the members defined by the OpcObjectType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.

name OpcName

The OpcName through that the new object node can be accessed.

nodeId OpcNodeId

The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.

parentNodeId OpcNodeId

The OpcNodeId of the parent node to reference using HasComponent as the type of reference.

children OpcAddInstanceNode[]

The initial child nodes of the node to add.


Returns

OpcAddNodeResult

An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.



Exceptions

ArgumentException

The parentNodeId is equals Null or name is equals Null.

ArgumentNullException

The name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

AddObjectNode(OpcObjectType, OpcName, OpcNodeId, OpcNodeId, OpcNodeId)

Adds a new object node into the address space hierarchy using the specified type of object node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using the type of reference identified by the referenceTypeId specified.

C#

public OpcAddNodeResult AddObjectNode(OpcObjectType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcNodeId referenceTypeId)


Parameters

type OpcObjectType

One of the members defined by the OpcObjectType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.

name OpcName

The OpcName through that the new object node can be accessed.

nodeId OpcNodeId

The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.

parentNodeId OpcNodeId

The OpcNodeId of the parent node to reference using the type of reference identified by referenceTypeId.

referenceTypeId OpcNodeId

The OpcNodeId which identifies the type of reference to use for the new node and the existing parent node identified by parentNodeId.


Returns

OpcAddNodeResult

An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.



Exceptions

ArgumentException

The parentNodeId or referenceTypeId is equals Null or name is equals Null.

ArgumentNullException

The name, nodeId, parentNodeId or referenceTypeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

AddObjectNode(OpcObjectType, OpcName, OpcNodeId, OpcNodeId, OpcNodeId, OpcAddInstanceNode[])

Adds a new object node into the address space hierarchy using the specified type of object node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using the type of reference identified by the referenceTypeId specified.

C#

public OpcAddNodeResult AddObjectNode(OpcObjectType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcNodeId referenceTypeId, params OpcAddInstanceNode[] children)


Parameters

type OpcObjectType

One of the members defined by the OpcObjectType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.

name OpcName

The OpcName through that the new object node can be accessed.

nodeId OpcNodeId

The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.

parentNodeId OpcNodeId

The OpcNodeId of the parent node to reference using the type of reference identified by referenceTypeId.

referenceTypeId OpcNodeId

The OpcNodeId which identifies the type of reference to use for the new node and the existing parent node identified by parentNodeId.

children OpcAddInstanceNode[]

The initial child nodes of the node to add.


Returns

OpcAddNodeResult

An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.



Exceptions

ArgumentException

The parentNodeId or referenceTypeId is equals Null or name is equals Null.

ArgumentNullException

The name, nodeId, parentNodeId or referenceTypeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

AddObjectNode(OpcObjectType, OpcName, OpcNodeId, OpcNodeId, OpcReferenceType)

Adds a new object node into the address space hierarchy using the specified type of object node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using the referenceType specified as the type of reference.

C#

public OpcAddNodeResult AddObjectNode(OpcObjectType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcReferenceType referenceType)


Parameters

type OpcObjectType

One of the members defined by the OpcObjectType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.

name OpcName

The OpcName through that the new object node can be accessed.

nodeId OpcNodeId

The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.

parentNodeId OpcNodeId

The OpcNodeId of the parent node to reference using HasComponent as the type of reference.

referenceType OpcReferenceType

One of the members defined by the OpcReferenceType enumeration to use to setup the reference between the new node and the existing parent node identified by parentNodeId.


Returns

OpcAddNodeResult

An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.



Exceptions

ArgumentException

The parentNodeId is equals Null or name is equals Null.

ArgumentNullException

The name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

AddObjectNode(OpcObjectType, OpcName, OpcNodeId, OpcNodeId, OpcReferenceType, OpcAddInstanceNode[])

Adds a new object node into the address space hierarchy using the specified type of object node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using the referenceType specified as the type of reference.

C#

public OpcAddNodeResult AddObjectNode(OpcObjectType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcReferenceType referenceType, params OpcAddInstanceNode[] children)


Parameters

type OpcObjectType

One of the members defined by the OpcObjectType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.

name OpcName

The OpcName through that the new object node can be accessed.

nodeId OpcNodeId

The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.

parentNodeId OpcNodeId

The OpcNodeId of the parent node to reference using HasComponent as the type of reference.

referenceType OpcReferenceType

One of the members defined by the OpcReferenceType enumeration to use to setup the reference between the new node and the existing parent node identified by parentNodeId.

children OpcAddInstanceNode[]

The initial child nodes of the node to add.


Returns

OpcAddNodeResult

An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.



Exceptions

ArgumentException

The parentNodeId is equals Null or name is equals Null.

ArgumentNullException

The name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

AddReference(OpcAddReference)

Adds a new reference to existing nodes in the address space hierarchy using the command specified.

C#

public OpcStatus AddReference(OpcAddReference command)


Parameters

command OpcAddReference

The OpcAddReference instance to process.


Returns

OpcStatus

An instance of the OpcStatus class which contains the information about the outcome of the processed command.



Exceptions

ArgumentNullException

The command is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the command specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the command specified are:

Status Description
BadSourceNodeIdInvalid For more details see BadSourceNodeIdInvalid.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadServerUriInvalid For more details see BadServerUriInvalid.
BadTargetNodeIdInvalid For more details see BadTargetNodeIdInvalid.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model on this server.
BadReferenceLocalOnly The reference type is not valid for a reference to a remote server.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadDuplicateReferenceNotAllowed The reference type between the nodes is already defined.
BadInvalidSelfReference The server does not allow this type of self reference on this node.

AddReference(OpcNodeId, OpcNodeId, OpcNodeCategory)

Adds a new reference to existing nodes in the address space hierarchy using the identifiers of the nodes which shall reference each other. The new reference will be a ParentToChild relation using Organizes as the type of reference.

C#

public OpcStatus AddReference(OpcNodeId nodeId, OpcNodeId targetNodeId, OpcNodeCategory targetNodeCategory)


Parameters

nodeId OpcNodeId

The OpcNodeId through that the source node can be identified and accessed. This identifier refers to the 'child' node.

targetNodeId OpcNodeId

The OpcNodeId through that the target node can be identified and accessed. This identifier referes to the 'parent' node.

targetNodeCategory OpcNodeCategory

One of the members defined by the OpcNodeCategory enumeration which is used by the server to validate that the reference to be added matches the OpcNodeCategory of the target node identified by the targetNodeId.


Returns

OpcStatus



Exceptions

ArgumentException

The nodeId or targetNodeId is equals Null.

ArgumentNullException

The nodeId or targetNodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadSourceNodeIdInvalid For more details see BadSourceNodeIdInvalid.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadServerUriInvalid For more details see BadServerUriInvalid.
BadTargetNodeIdInvalid For more details see BadTargetNodeIdInvalid.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model on this server.
BadReferenceLocalOnly The reference type is not valid for a reference to a remote server.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadDuplicateReferenceNotAllowed The reference type between the nodes is already defined.
BadInvalidSelfReference The server does not allow this type of self reference on this node.

AddReference(OpcNodeId, OpcNodeId, OpcNodeCategory, OpcReferenceDirection)

Adds a new reference to existing nodes in the address space hierarchy using the identifiers of the nodes which shall reference each other using the direction specified. The new reference will use the relation defined by direction using the Organizes as the type of reference.

C#

public OpcStatus AddReference(OpcNodeId nodeId, OpcNodeId targetNodeId, OpcNodeCategory targetNodeCategory, OpcReferenceDirection direction)


Parameters

nodeId OpcNodeId

The OpcNodeId through that the source node can be identified and accessed.

targetNodeId OpcNodeId

The OpcNodeId through that the target node can be identified and accessed.

targetNodeCategory OpcNodeCategory

One of the members defined by the OpcNodeCategory enumeration which is used by the server to validate that the reference to be added matches the OpcNodeCategory of the target node identified by the targetNodeId.

direction OpcReferenceDirection

One of the members defined by the OpcReferenceDirection enumeration which defines the kind of relation the reference will construct.


Returns

OpcStatus



Exceptions

ArgumentException

The nodeId or targetNodeId is equals Null.

ArgumentNullException

The nodeId or targetNodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadSourceNodeIdInvalid For more details see BadSourceNodeIdInvalid.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadServerUriInvalid For more details see BadServerUriInvalid.
BadTargetNodeIdInvalid For more details see BadTargetNodeIdInvalid.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model on this server.
BadReferenceLocalOnly The reference type is not valid for a reference to a remote server.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadDuplicateReferenceNotAllowed The reference type between the nodes is already defined.
BadInvalidSelfReference The server does not allow this type of self reference on this node.

AddReference(OpcNodeId, OpcNodeId, OpcNodeCategory, OpcReferenceDirection, OpcNodeId)

Adds a new reference to existing nodes in the address space hierarchy using the identifiers of the nodes which shall reference each other using the direction specified. The new reference will use the relation defined by direction using the type of reference identified by the referenceTypeId specified.

C#

public OpcStatus AddReference(OpcNodeId nodeId, OpcNodeId targetNodeId, OpcNodeCategory targetNodeCategory, OpcReferenceDirection direction, OpcNodeId referenceTypeId)


Parameters

nodeId OpcNodeId

The OpcNodeId through that the source node can be identified and accessed.

targetNodeId OpcNodeId

The OpcNodeId through that the target node can be identified and accessed.

targetNodeCategory OpcNodeCategory

One of the members defined by the OpcNodeCategory enumeration which is used by the server to validate that the reference to be added matches the OpcNodeCategory of the target node identified by the targetNodeId.

direction OpcReferenceDirection

One of the members defined by the OpcReferenceDirection enumeration which defines the kind of relation the reference will construct.

referenceTypeId OpcNodeId

The OpcNodeId which identifies the type of reference to use to setup the reference between the source and the target node identified by the nodeId and the targetNodeId.


Returns

OpcStatus



Exceptions

ArgumentException

The nodeId, targetNodeId or referenceTypeId is equals Null.

ArgumentNullException

The nodeId, targetNodeId or referenceTypeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadSourceNodeIdInvalid For more details see BadSourceNodeIdInvalid.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadServerUriInvalid For more details see BadServerUriInvalid.
BadTargetNodeIdInvalid For more details see BadTargetNodeIdInvalid.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model on this server.
BadReferenceLocalOnly The reference type is not valid for a reference to a remote server.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadDuplicateReferenceNotAllowed The reference type between the nodes is already defined.
BadInvalidSelfReference The server does not allow this type of self reference on this node.

AddReference(OpcNodeId, OpcNodeId, OpcNodeCategory, OpcReferenceDirection, OpcReferenceType)

Adds a new reference to existing nodes in the address space hierarchy using the identifiers of the nodes which shall reference each other using the direction specified. The new reference will use the relation defined by direction using the referenceType specified as the type of reference.

C#

public OpcStatus AddReference(OpcNodeId nodeId, OpcNodeId targetNodeId, OpcNodeCategory targetNodeCategory, OpcReferenceDirection direction, OpcReferenceType referenceType)


Parameters

nodeId OpcNodeId

The OpcNodeId through that the source node can be identified and accessed.

targetNodeId OpcNodeId

The OpcNodeId through that the target node can be identified and accessed.

targetNodeCategory OpcNodeCategory

One of the members defined by the OpcNodeCategory enumeration which is used by the server to validate that the reference to be added matches the OpcNodeCategory of the target node identified by the targetNodeId.

direction OpcReferenceDirection

One of the members defined by the OpcReferenceDirection enumeration which defines the kind of relation the reference will construct.

referenceType OpcReferenceType

One of the members defined by the OpcReferenceType enumeration to use to setup the reference between the source and the target node identified by the nodeId and the targetNodeId.


Returns

OpcStatus



Exceptions

ArgumentException

The nodeId or targetNodeId is equals Null.

ArgumentNullException

The nodeId or targetNodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadSourceNodeIdInvalid For more details see BadSourceNodeIdInvalid.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadServerUriInvalid For more details see BadServerUriInvalid.
BadTargetNodeIdInvalid For more details see BadTargetNodeIdInvalid.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model on this server.
BadReferenceLocalOnly The reference type is not valid for a reference to a remote server.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadDuplicateReferenceNotAllowed The reference type between the nodes is already defined.
BadInvalidSelfReference The server does not allow this type of self reference on this node.

AddReferences(IEnumerable<OpcAddReference>)

Adds one or more references to existing nodes in the address space hierarchy using the commands specified.

C#

public OpcStatusCollection AddReferences(IEnumerable<OpcAddReference> commands)


Parameters

commands IEnumerable<OpcAddReference>

A sequence of OpcAddReference instances to process.


Returns

OpcStatusCollection

An instance of the OpcStatusCollection class which contains the information about the outcome of each processed command.



Exceptions

ArgumentNullException

The commands sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add reference service is currently not supported, especially using the commands specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the commands specified are:

Status Description
BadSourceNodeIdInvalid For more details see BadSourceNodeIdInvalid.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadServerUriInvalid For more details see BadServerUriInvalid.
BadTargetNodeIdInvalid For more details see BadTargetNodeIdInvalid.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model on this server.
BadReferenceLocalOnly The reference type is not valid for a reference to a remote server.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadDuplicateReferenceNotAllowed The reference type between the nodes is already defined.
BadInvalidSelfReference The server does not allow this type of self reference on this node.

AddReferences(OpcAddReference[])

Adds one or more references to existing nodes in the address space hierarchy using the commands specified.

C#

public OpcStatusCollection AddReferences(params OpcAddReference[] commands)


Parameters

commands OpcAddReference[]

An array of OpcAddReference instances to process.


Returns

OpcStatusCollection

An instance of the OpcStatusCollection class which contains the information about the outcome of each processed command.



Exceptions

ArgumentNullException

The commands sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add reference service is currently not supported, especially using the commands specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the commands specified are:

Status Description
BadSourceNodeIdInvalid For more details see BadSourceNodeIdInvalid.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadServerUriInvalid For more details see BadServerUriInvalid.
BadTargetNodeIdInvalid For more details see BadTargetNodeIdInvalid.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model on this server.
BadReferenceLocalOnly The reference type is not valid for a reference to a remote server.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadDuplicateReferenceNotAllowed The reference type between the nodes is already defined.
BadInvalidSelfReference The server does not allow this type of self reference on this node.

AddVariableNode(OpcVariableType, OpcName)

Adds a new variable node into the address space hierarchy using the specified type of variable node to add, which shall be accessible by the name defined. The according OpcNodeId to identify and access the new node is determined by the service. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.

C#

public OpcAddNodeResult AddVariableNode(OpcVariableType type, OpcName name)


Parameters

type OpcVariableType

One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.

name OpcName

The OpcName through that the new variable node can be accessed.


Returns

OpcAddNodeResult

An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.



Exceptions

ArgumentException

The name is equals Null.

ArgumentNullException

The name is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

AddVariableNode(OpcVariableType, OpcName, Object)

Adds a new variable node into the address space hierarchy using the specified type of variable node to add, which shall be accessible by the name defined. The according OpcNodeId to identify and access the new node is determined by the service. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.

C#

public OpcAddNodeResult AddVariableNode(OpcVariableType type, OpcName name, object value)


Parameters

type OpcVariableType

One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.

name OpcName

The OpcName through that the new variable node can be accessed.

value Object

The initial value of the new variable node.


Returns

OpcAddNodeResult

An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.



Exceptions

ArgumentException

The name is equals Null.

ArgumentNullException

The name is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

AddVariableNode(OpcVariableType, OpcName, OpcNodeId)

Adds a new variable node into the address space hierarchy using the specified type of variable node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.

C#

public OpcAddNodeResult AddVariableNode(OpcVariableType type, OpcName name, OpcNodeId nodeId)


Parameters

type OpcVariableType

One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.

name OpcName

The OpcName through that the new variable node can be accessed.

nodeId OpcNodeId

The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.


Returns

OpcAddNodeResult

An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.



Exceptions

ArgumentException

The name is equals Null.

ArgumentNullException

The name or nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

AddVariableNode(OpcVariableType, OpcName, OpcNodeId, Object)

Adds a new variable node into the address space hierarchy using the specified type of variable node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.

C#

public OpcAddNodeResult AddVariableNode(OpcVariableType type, OpcName name, OpcNodeId nodeId, object value)


Parameters

type OpcVariableType

One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.

name OpcName

The OpcName through that the new variable node can be accessed.

nodeId OpcNodeId

The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.

value Object

The initial value of the new variable node.


Returns

OpcAddNodeResult

An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.



Exceptions

ArgumentException

The name is equals Null.

ArgumentNullException

The name or nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

AddVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId)

Adds a new variable node into the address space hierarchy using the specified type of variable node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using HasComponent as the type of reference.

C#

public OpcAddNodeResult AddVariableNode(OpcVariableType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId)


Parameters

type OpcVariableType

One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.

name OpcName

The OpcName through that the new variable node can be accessed.

nodeId OpcNodeId

The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.

parentNodeId OpcNodeId

The OpcNodeId of the parent node to reference using HasComponent as the type of reference.


Returns

OpcAddNodeResult

An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.



Exceptions

ArgumentException

The parentNodeId is equals Null or name is equals Null.

ArgumentNullException

The name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

AddVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, Object)

Adds a new variable node into the address space hierarchy using the specified type of variable node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using HasComponent as the type of reference.

C#

public OpcAddNodeResult AddVariableNode(OpcVariableType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, object value)


Parameters

type OpcVariableType

One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.

name OpcName

The OpcName through that the new variable node can be accessed.

nodeId OpcNodeId

The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.

parentNodeId OpcNodeId

The OpcNodeId of the parent node to reference using HasComponent as the type of reference.

value Object

The initial value of the new variable node.


Returns

OpcAddNodeResult

An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.



Exceptions

ArgumentException

The parentNodeId is equals Null or name is equals Null.

ArgumentNullException

The name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

AddVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcNodeId)

Adds a new variable node into the address space hierarchy using the specified type of variable node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using the type of reference identified by the referenceTypeId specified.

C#

public OpcAddNodeResult AddVariableNode(OpcVariableType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcNodeId referenceTypeId)


Parameters

type OpcVariableType

One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.

name OpcName

The OpcName through that the new variable node can be accessed.

nodeId OpcNodeId

The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.

parentNodeId OpcNodeId

The OpcNodeId of the parent node to reference using the type of reference identified by referenceTypeId.

referenceTypeId OpcNodeId

The OpcNodeId which identifies the type of reference to use for the new node and the existing parent node identified by parentNodeId.


Returns

OpcAddNodeResult

An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.



Exceptions

ArgumentException

The parentNodeId or referenceTypeId is equals Null or name is equals Null.

ArgumentNullException

The name, nodeId, parentNodeId or referenceTypeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

AddVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcNodeId, Object)

Adds a new variable node into the address space hierarchy using the specified type of variable node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using the type of reference identified by the referenceTypeId specified.

C#

public OpcAddNodeResult AddVariableNode(OpcVariableType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcNodeId referenceTypeId, object value)


Parameters

type OpcVariableType

One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.

name OpcName

The OpcName through that the new variable node can be accessed.

nodeId OpcNodeId

The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.

parentNodeId OpcNodeId

The OpcNodeId of the parent node to reference using the type of reference identified by referenceTypeId.

referenceTypeId OpcNodeId

The OpcNodeId which identifies the type of reference to use for the new node and the existing parent node identified by parentNodeId.

value Object

The initial value of the new variable node.


Returns

OpcAddNodeResult

An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.



Exceptions

ArgumentException

The parentNodeId or referenceTypeId is equals Null or name is equals Null.

ArgumentNullException

The name, nodeId, parentNodeId or referenceTypeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

AddVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcReferenceType)

Adds a new variable node into the address space hierarchy using the specified type of variable node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using the referenceType specified as the type of reference.

C#

public OpcAddNodeResult AddVariableNode(OpcVariableType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcReferenceType referenceType)


Parameters

type OpcVariableType

One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.

name OpcName

The OpcName through that the new variable node can be accessed.

nodeId OpcNodeId

The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.

parentNodeId OpcNodeId

The OpcNodeId of the parent node to reference using HasComponent as the type of reference.

referenceType OpcReferenceType

One of the members defined by the OpcReferenceType enumeration to use to setup the reference between the new node and the existing parent node identified by parentNodeId.


Returns

OpcAddNodeResult

An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.



Exceptions

ArgumentException

The parentNodeId is equals Null or name is equals Null.

ArgumentNullException

The name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

AddVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcReferenceType, Object)

Adds a new variable node into the address space hierarchy using the specified type of variable node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using the referenceType specified as the type of reference.

C#

public OpcAddNodeResult AddVariableNode(OpcVariableType type, OpcName name, OpcNodeId nodeId, OpcNodeId parentNodeId, OpcReferenceType referenceType, object value)


Parameters

type OpcVariableType

One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.

name OpcName

The OpcName through that the new variable node can be accessed.

nodeId OpcNodeId

The OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.

parentNodeId OpcNodeId

The OpcNodeId of the parent node to reference using HasComponent as the type of reference.

referenceType OpcReferenceType

One of the members defined by the OpcReferenceType enumeration to use to setup the reference between the new node and the existing parent node identified by parentNodeId.

value Object

The initial value of the new variable node.


Returns

OpcAddNodeResult

An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the the call to the add nodes service; together with information about the outcome of the processed service invocation.



Exceptions

ArgumentException

The parentNodeId is equals Null or name is equals Null.

ArgumentNullException

The name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadParentNodeIdInvalid The parent node id does not refer to a valid node.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadReferenceNotAllowed The reference could not be created because it violates constraints imposed by the data model.
BadNodeIdRejected The requested node id is already used by another node.
BadNodeClassInvalid For more details see BadNodeClassInvalid.
BadBrowseNameInvalid For more details see BadBrowseNameInvalid.
BadBrowseNameDuplicated The browse name is not unique among nodes that share the same relationship with the parent.
BadNodeAttributesInvalid The node attributes are not valid for the node class.
BadTypeDefinitionInvalid For more details see BadTypeDefinitionInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.

BrowseNode(OpcBrowseNode)

C#

public OpcNodeInfo BrowseNode(OpcBrowseNode command)


Parameters

command OpcBrowseNode



Returns

OpcNodeInfo



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


BrowseNode(OpcNodeId)

C#

public OpcNodeInfo BrowseNode(OpcNodeId nodeId)


Parameters

nodeId OpcNodeId



Returns

OpcNodeInfo



Exceptions

ArgumentNullException


InvalidOperationException


ObjectDisposedException


BrowseNode(OpcNodeId, IEnumerable<OpcReferenceType>)

C#

public OpcNodeInfo BrowseNode(OpcNodeId nodeId, IEnumerable<OpcReferenceType> referenceTypes)


Parameters

nodeId OpcNodeId


referenceTypes IEnumerable<OpcReferenceType>



Returns

OpcNodeInfo



Exceptions

ArgumentNullException


InvalidOperationException


ObjectDisposedException


BrowseNode(OpcNodeId, OpcReferenceType[])

C#

public OpcNodeInfo BrowseNode(OpcNodeId nodeId, params OpcReferenceType[] referenceTypes)


Parameters

nodeId OpcNodeId


referenceTypes OpcReferenceType[]



Returns

OpcNodeInfo



Exceptions

ArgumentNullException


InvalidOperationException


ObjectDisposedException


BrowseNode(OpcViewDescription, OpcNodeId)

C#

public OpcNodeInfo BrowseNode(OpcViewDescription view, OpcNodeId nodeId)


Parameters

view OpcViewDescription


nodeId OpcNodeId



Returns

OpcNodeInfo



Exceptions

ArgumentNullException


InvalidOperationException


ObjectDisposedException


BrowseNode(OpcViewDescription, OpcNodeId, IEnumerable<OpcReferenceType>)

C#

public OpcNodeInfo BrowseNode(OpcViewDescription view, OpcNodeId nodeId, IEnumerable<OpcReferenceType> referenceTypes)


Parameters

view OpcViewDescription


nodeId OpcNodeId


referenceTypes IEnumerable<OpcReferenceType>



Returns

OpcNodeInfo



Exceptions

ArgumentNullException


InvalidOperationException


ObjectDisposedException


BrowseNode(OpcViewDescription, OpcNodeId, OpcReferenceType[])

C#

public OpcNodeInfo BrowseNode(OpcViewDescription view, OpcNodeId nodeId, params OpcReferenceType[] referenceTypes)


Parameters

view OpcViewDescription


nodeId OpcNodeId


referenceTypes OpcReferenceType[]



Returns

OpcNodeInfo



Exceptions

ArgumentNullException


InvalidOperationException


ObjectDisposedException


BrowseNodeIds(BrowsePathCollection)

C#

public IEnumerable<OpcNodeId> BrowseNodeIds(BrowsePathCollection pathsToTranslate)


Parameters

pathsToTranslate BrowsePathCollection



Returns

IEnumerable<OpcNodeId>

BrowseNodes(IEnumerable<OpcBrowseNode>)

C#

public IEnumerable<OpcNodeInfo> BrowseNodes(IEnumerable<OpcBrowseNode> commands)


Parameters

commands IEnumerable<OpcBrowseNode>



Returns

IEnumerable<OpcNodeInfo>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


BrowseNodes(OpcBrowseNode[])

C#

public IEnumerable<OpcNodeInfo> BrowseNodes(params OpcBrowseNode[] commands)


Parameters

commands OpcBrowseNode[]



Returns

IEnumerable<OpcNodeInfo>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CallAction(OpcNodeId, OpcNodeId)

C#

public void CallAction(OpcNodeId objectId, OpcNodeId methodId)


Parameters

objectId OpcNodeId


methodId OpcNodeId


CallAction<T>(OpcNodeId, OpcNodeId, T)

C#

public void CallAction<T>(OpcNodeId objectId, OpcNodeId methodId, T parameter)


Parameters

objectId OpcNodeId


methodId OpcNodeId


parameter T


CallAction<T1, T2, T3, T4, T5, T6, T7, T8>(OpcNodeId, OpcNodeId, T1, T2, T3, T4, T5, T6, T7, T8)

C#

public void CallAction<T1, T2, T3, T4, T5, T6, T7, T8>(OpcNodeId objectId, OpcNodeId methodId, T1 parameter1, T2 parameter2, T3 parameter3, T4 parameter4, T5 parameter5, T6 parameter6, T7 parameter7, T8 parameter8)


Parameters

objectId OpcNodeId


methodId OpcNodeId


parameter1 1


parameter2 2


parameter3 3


parameter4 4


parameter5 5


parameter6 6


parameter7 7


parameter8 8


CallAction<T1, T2, T3, T4, T5, T6, T7>(OpcNodeId, OpcNodeId, T1, T2, T3, T4, T5, T6, T7)

C#

public void CallAction<T1, T2, T3, T4, T5, T6, T7>(OpcNodeId objectId, OpcNodeId methodId, T1 parameter1, T2 parameter2, T3 parameter3, T4 parameter4, T5 parameter5, T6 parameter6, T7 parameter7)


Parameters

objectId OpcNodeId


methodId OpcNodeId


parameter1 1


parameter2 2


parameter3 3


parameter4 4


parameter5 5


parameter6 6


parameter7 7


CallAction<T1, T2, T3, T4, T5, T6>(OpcNodeId, OpcNodeId, T1, T2, T3, T4, T5, T6)

C#

public void CallAction<T1, T2, T3, T4, T5, T6>(OpcNodeId objectId, OpcNodeId methodId, T1 parameter1, T2 parameter2, T3 parameter3, T4 parameter4, T5 parameter5, T6 parameter6)


Parameters

objectId OpcNodeId


methodId OpcNodeId


parameter1 1


parameter2 2


parameter3 3


parameter4 4


parameter5 5


parameter6 6


CallAction<T1, T2, T3, T4, T5>(OpcNodeId, OpcNodeId, T1, T2, T3, T4, T5)

C#

public void CallAction<T1, T2, T3, T4, T5>(OpcNodeId objectId, OpcNodeId methodId, T1 parameter1, T2 parameter2, T3 parameter3, T4 parameter4, T5 parameter5)


Parameters

objectId OpcNodeId


methodId OpcNodeId


parameter1 1


parameter2 2


parameter3 3


parameter4 4


parameter5 5


CallAction<T1, T2, T3, T4>(OpcNodeId, OpcNodeId, T1, T2, T3, T4)

C#

public void CallAction<T1, T2, T3, T4>(OpcNodeId objectId, OpcNodeId methodId, T1 parameter1, T2 parameter2, T3 parameter3, T4 parameter4)


Parameters

objectId OpcNodeId


methodId OpcNodeId


parameter1 1


parameter2 2


parameter3 3


parameter4 4


CallAction<T1, T2, T3>(OpcNodeId, OpcNodeId, T1, T2, T3)

C#

public void CallAction<T1, T2, T3>(OpcNodeId objectId, OpcNodeId methodId, T1 parameter1, T2 parameter2, T3 parameter3)


Parameters

objectId OpcNodeId


methodId OpcNodeId


parameter1 1


parameter2 2


parameter3 3


CallAction<T1, T2>(OpcNodeId, OpcNodeId, T1, T2)

C#

public void CallAction<T1, T2>(OpcNodeId objectId, OpcNodeId methodId, T1 parameter1, T2 parameter2)


Parameters

objectId OpcNodeId


methodId OpcNodeId


parameter1 1


parameter2 2


CallFunc<T, TResult>(OpcNodeId, OpcNodeId, T)

C#

public TResult CallFunc<T, TResult>(OpcNodeId objectId, OpcNodeId methodId, T parameter)


Parameters

objectId OpcNodeId


methodId OpcNodeId


parameter T



Returns

t

CallFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(OpcNodeId, OpcNodeId, T1, T2, T3, T4, T5, T6, T7, T8)

C#

public TResult CallFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(OpcNodeId objectId, OpcNodeId methodId, T1 parameter1, T2 parameter2, T3 parameter3, T4 parameter4, T5 parameter5, T6 parameter6, T7 parameter7, T8 parameter8)


Parameters

objectId OpcNodeId


methodId OpcNodeId


parameter1 1


parameter2 2


parameter3 3


parameter4 4


parameter5 5


parameter6 6


parameter7 7


parameter8 8



Returns

t

CallFunc<T1, T2, T3, T4, T5, T6, T7, TResult>(OpcNodeId, OpcNodeId, T1, T2, T3, T4, T5, T6, T7)

C#

public TResult CallFunc<T1, T2, T3, T4, T5, T6, T7, TResult>(OpcNodeId objectId, OpcNodeId methodId, T1 parameter1, T2 parameter2, T3 parameter3, T4 parameter4, T5 parameter5, T6 parameter6, T7 parameter7)


Parameters

objectId OpcNodeId


methodId OpcNodeId


parameter1 1


parameter2 2


parameter3 3


parameter4 4


parameter5 5


parameter6 6


parameter7 7



Returns

t

CallFunc<T1, T2, T3, T4, T5, T6, TResult>(OpcNodeId, OpcNodeId, T1, T2, T3, T4, T5, T6)

C#

public TResult CallFunc<T1, T2, T3, T4, T5, T6, TResult>(OpcNodeId objectId, OpcNodeId methodId, T1 parameter1, T2 parameter2, T3 parameter3, T4 parameter4, T5 parameter5, T6 parameter6)


Parameters

objectId OpcNodeId


methodId OpcNodeId


parameter1 1


parameter2 2


parameter3 3


parameter4 4


parameter5 5


parameter6 6



Returns

t

CallFunc<T1, T2, T3, T4, T5, TResult>(OpcNodeId, OpcNodeId, T1, T2, T3, T4, T5)

C#

public TResult CallFunc<T1, T2, T3, T4, T5, TResult>(OpcNodeId objectId, OpcNodeId methodId, T1 parameter1, T2 parameter2, T3 parameter3, T4 parameter4, T5 parameter5)


Parameters

objectId OpcNodeId


methodId OpcNodeId


parameter1 1


parameter2 2


parameter3 3


parameter4 4


parameter5 5



Returns

t

CallFunc<T1, T2, T3, T4, TResult>(OpcNodeId, OpcNodeId, T1, T2, T3, T4)

C#

public TResult CallFunc<T1, T2, T3, T4, TResult>(OpcNodeId objectId, OpcNodeId methodId, T1 parameter1, T2 parameter2, T3 parameter3, T4 parameter4)


Parameters

objectId OpcNodeId


methodId OpcNodeId


parameter1 1


parameter2 2


parameter3 3


parameter4 4



Returns

t

CallFunc<T1, T2, T3, TResult>(OpcNodeId, OpcNodeId, T1, T2, T3)

C#

public TResult CallFunc<T1, T2, T3, TResult>(OpcNodeId objectId, OpcNodeId methodId, T1 parameter1, T2 parameter2, T3 parameter3)


Parameters

objectId OpcNodeId


methodId OpcNodeId


parameter1 1


parameter2 2


parameter3 3



Returns

t

CallFunc<T1, T2, TResult>(OpcNodeId, OpcNodeId, T1, T2)

C#

public TResult CallFunc<T1, T2, TResult>(OpcNodeId objectId, OpcNodeId methodId, T1 parameter1, T2 parameter2)


Parameters

objectId OpcNodeId


methodId OpcNodeId


parameter1 1


parameter2 2



Returns

t

CallFunc<TResult>(OpcNodeId, OpcNodeId)

C#

public TResult CallFunc<TResult>(OpcNodeId objectId, OpcNodeId methodId)


Parameters

objectId OpcNodeId


methodId OpcNodeId



Returns

t

CallMethod(OpcCallMethod)

C#

public object[] CallMethod(OpcCallMethod command)


Parameters

command OpcCallMethod



Returns

Object[]



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CallMethod(OpcNodeId, OpcNodeId)

C#

public object[] CallMethod(OpcNodeId objectId, OpcNodeId methodId)


Parameters

objectId OpcNodeId


methodId OpcNodeId



Returns

Object[]



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CallMethod(OpcNodeId, OpcNodeId, IEnumerable<Object>)

C#

public object[] CallMethod(OpcNodeId objectId, OpcNodeId methodId, IEnumerable<object> parameters)


Parameters

objectId OpcNodeId


methodId OpcNodeId


parameters IEnumerable<Object>



Returns

Object[]



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CallMethod(OpcNodeId, OpcNodeId, Object[])

C#

public object[] CallMethod(OpcNodeId objectId, OpcNodeId methodId, params object[] parameters)


Parameters

objectId OpcNodeId


methodId OpcNodeId


parameters Object[]



Returns

Object[]



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CallMethods(IEnumerable<OpcCallMethod>)

C#

public object[][] CallMethods(IEnumerable<OpcCallMethod> commands)


Parameters

commands IEnumerable<OpcCallMethod>



Returns

Object[][]



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CallMethods(OpcCallMethod[])

C#

public object[][] CallMethods(params OpcCallMethod[] commands)


Parameters

commands OpcCallMethod[]



Returns

Object[][]



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


Connect()

Establishes a connection to the server identified by the ServerAddress and creates/activates a new session to access the OPC UA services provided by the server.

C#

public void Connect()



Exceptions

InvalidOperationException

The ServerAddress is not specified. The value of ServerAddress is a null reference (Nothing in Visual Basic) or the method is currently not supported, because of the license has expired.

ObjectDisposedException

The object has been disposed of.

OpcException

This type of exception can have the following reasons: * BadSecureChannelClosed The secure channel has been closed. This can have the following reasons: * Reason A The client certificate is unknown or untrusted by the server. * Solution A Store the client certificate in the servers certificate store for trusted certificates. * Solution B Use a different endpoint with the OpcSecurityMode value None to connect to the server.

ConnectCore()

Performs all necessary tasks to establish a connection to the server identified by the ServerAddress and creates/activates a new session to access the OPC UA services provided by the server.

C#

protected virtual void ConnectCore()

CreateNodeHistory(Int32, IEnumerable<OpcValue>)

C#

public OpcStatusCollection CreateNodeHistory(int nodeId, IEnumerable<OpcValue> values)


Parameters

nodeId Int32


values IEnumerable<OpcValue>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CreateNodeHistory(Int32, Int32, IEnumerable<OpcValue>)

C#

public OpcStatusCollection CreateNodeHistory(int nodeId, int namespaceIndex, IEnumerable<OpcValue> values)


Parameters

nodeId Int32


namespaceIndex Int32


values IEnumerable<OpcValue>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CreateNodeHistory(Int32, Int32, OpcValue)

C#

public OpcStatus CreateNodeHistory(int nodeId, int namespaceIndex, OpcValue value)


Parameters

nodeId Int32


namespaceIndex Int32


value OpcValue



Returns

OpcStatus



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CreateNodeHistory(Int32, OpcValue)

C#

public OpcStatus CreateNodeHistory(int nodeId, OpcValue value)


Parameters

nodeId Int32


value OpcValue



Returns

OpcStatus



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CreateNodeHistory(Int32, OpcValue[])

C#

public OpcStatusCollection CreateNodeHistory(int nodeId, params OpcValue[] values)


Parameters

nodeId Int32


values OpcValue[]



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CreateNodeHistory(OpcCreateNodeHistory)

C#

public OpcStatusCollection CreateNodeHistory(OpcCreateNodeHistory command)


Parameters

command OpcCreateNodeHistory



Returns

OpcStatusCollection



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CreateNodeHistory(OpcNodeId, IEnumerable<OpcValue>)

C#

public OpcStatusCollection CreateNodeHistory(OpcNodeId nodeId, IEnumerable<OpcValue> values)


Parameters

nodeId OpcNodeId


values IEnumerable<OpcValue>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CreateNodeHistory(OpcNodeId, OpcValue)

C#

public OpcStatus CreateNodeHistory(OpcNodeId nodeId, OpcValue value)


Parameters

nodeId OpcNodeId


value OpcValue



Returns

OpcStatus



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CreateNodeHistory(OpcNodeId, OpcValue[])

C#

public OpcStatusCollection CreateNodeHistory(OpcNodeId nodeId, params OpcValue[] values)


Parameters

nodeId OpcNodeId


values OpcValue[]



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CreateNodeHistory(String, IEnumerable<OpcValue>)

C#

public OpcStatusCollection CreateNodeHistory(string nodeId, IEnumerable<OpcValue> values)


Parameters

nodeId String


values IEnumerable<OpcValue>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CreateNodeHistory(String, Int32, IEnumerable<OpcValue>)

C#

public OpcStatusCollection CreateNodeHistory(string nodeId, int namespaceIndex, IEnumerable<OpcValue> values)


Parameters

nodeId String


namespaceIndex Int32


values IEnumerable<OpcValue>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CreateNodeHistory(String, Int32, OpcValue)

C#

public OpcStatus CreateNodeHistory(string nodeId, int namespaceIndex, OpcValue value)


Parameters

nodeId String


namespaceIndex Int32


value OpcValue



Returns

OpcStatus



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CreateNodeHistory(String, Int32, OpcValue[])

C#

public OpcStatusCollection CreateNodeHistory(string nodeId, int namespaceIndex, params OpcValue[] values)


Parameters

nodeId String


namespaceIndex Int32


values OpcValue[]



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CreateNodeHistory(String, OpcValue)

C#

public OpcStatus CreateNodeHistory(string nodeId, OpcValue value)


Parameters

nodeId String


value OpcValue



Returns

OpcStatus



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CreateNodeHistory(String, OpcValue[])

C#

public OpcStatusCollection CreateNodeHistory(string nodeId, params OpcValue[] values)


Parameters

nodeId String


values OpcValue[]



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CreateNodesHistory(IEnumerable<OpcCreateNodeHistory>)

C#

public IDictionary<OpcNodeId, OpcStatusCollection> CreateNodesHistory(IEnumerable<OpcCreateNodeHistory> commands)


Parameters

commands IEnumerable<OpcCreateNodeHistory>



Returns

IDictionary<OpcNodeId, OpcStatusCollection>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CreateNodesHistory(OpcCreateNodeHistory[])

C#

public IDictionary<OpcNodeId, OpcStatusCollection> CreateNodesHistory(params OpcCreateNodeHistory[] commands)


Parameters

commands OpcCreateNodeHistory[]



Returns

IDictionary<OpcNodeId, OpcStatusCollection>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


CreateSecurity()

Creates a new instance of the OpcClientSecurity class.

C#

protected override sealed OpcClientSecurity CreateSecurity()


Returns

OpcClientSecurity

A new instance of theOpcClientSecurity class.

CreateTransport()

Creates a new instance of the OpcTransport class.

C#

protected override sealed OpcTransport CreateTransport()


Returns

OpcTransport

A new instance of theOpcTransport class.

DeleteNode(OpcDeleteNode)

Deletes a node from the address space hierarchy using the command specified.

C#

public OpcStatus DeleteNode(OpcDeleteNode command)


Parameters

command OpcDeleteNode

The OpcDeleteNode instance to process.


Returns

OpcStatus

An instance of the OpcStatus class which contains the information about the outcome of the processed command.



Exceptions

ArgumentNullException

The command is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the command specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the command specified are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadNoDeleteRights For more details see BadNoDeleteRights.
UncertainReferenceNotDeleted The server was not able to delete all target references.

DeleteNode(OpcNodeId)

Deletes a node from the address space hierarchy using the identifier of the node which shall be deleted including the references where the node acts as the source and as the target of the reference.

C#

public OpcStatus DeleteNode(OpcNodeId nodeId)


Parameters

nodeId OpcNodeId

The OpcNodeId through that the node to delete can be identified and accessed.


Returns

OpcStatus



Exceptions

ArgumentException

The nodeId is equals Null.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The delete node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadNoDeleteRights For more details see BadNoDeleteRights.
UncertainReferenceNotDeleted The server was not able to delete all target references.

DeleteNode(OpcNodeId, Boolean)

Deletes a node from the address space hierarchy using the identifier of the node which shall be deleted including the references where the node acts as the source and optionally (see includeTargetReferences) as the target of the reference.

C#

public OpcStatus DeleteNode(OpcNodeId nodeId, bool includeTargetReferences)


Parameters

nodeId OpcNodeId

The OpcNodeId through that the node to delete can be identified and accessed.

includeTargetReferences Boolean

A value indicating whether all references there the node being deleted acts as the target shall be deleted as well. The value true if all references using the node to delete as the target of the reference shall be deleted as well; otherwise the value false which indicates that only references there the node to delete acts as the source of the reference.


Returns

OpcStatus



Exceptions

ArgumentException

The nodeId is equals Null.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The delete node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadNoDeleteRights For more details see BadNoDeleteRights.
UncertainReferenceNotDeleted The server was not able to delete all target references.

DeleteNodeHistory(Int32)

C#

public OpcStatusCollection DeleteNodeHistory(int nodeId)


Parameters

nodeId Int32



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistory(Int32, Int32)

C#

public OpcStatusCollection DeleteNodeHistory(int nodeId, int namespaceIndex)


Parameters

nodeId Int32


namespaceIndex Int32



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistory(Int32, Int32, Nullable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistory(int nodeId, int namespaceIndex, DateTime? startTime)


Parameters

nodeId Int32


namespaceIndex Int32


startTime Nullable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistory(Int32, Int32, Nullable<DateTime>, Nullable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistory(int nodeId, int namespaceIndex, DateTime? startTime, DateTime? endTime)


Parameters

nodeId Int32


namespaceIndex Int32


startTime Nullable<DateTime>


endTime Nullable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistory(Int32, Nullable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistory(int nodeId, DateTime? startTime)


Parameters

nodeId Int32


startTime Nullable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistory(Int32, Nullable<DateTime>, Nullable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistory(int nodeId, DateTime? startTime, DateTime? endTime)


Parameters

nodeId Int32


startTime Nullable<DateTime>


endTime Nullable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistory(OpcDeleteNodeHistory)

C#

public OpcStatusCollection DeleteNodeHistory(OpcDeleteNodeHistory command)


Parameters

command OpcDeleteNodeHistory



Returns

OpcStatusCollection



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistory(OpcNodeId)

C#

public OpcStatusCollection DeleteNodeHistory(OpcNodeId nodeId)


Parameters

nodeId OpcNodeId



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistory(OpcNodeId, Nullable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistory(OpcNodeId nodeId, DateTime? startTime)


Parameters

nodeId OpcNodeId


startTime Nullable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistory(OpcNodeId, Nullable<DateTime>, Nullable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistory(OpcNodeId nodeId, DateTime? startTime, DateTime? endTime)


Parameters

nodeId OpcNodeId


startTime Nullable<DateTime>


endTime Nullable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistory(String)

C#

public OpcStatusCollection DeleteNodeHistory(string nodeId)


Parameters

nodeId String



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistory(String, Int32)

C#

public OpcStatusCollection DeleteNodeHistory(string nodeId, int namespaceIndex)


Parameters

nodeId String


namespaceIndex Int32



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistory(String, Int32, Nullable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistory(string nodeId, int namespaceIndex, DateTime? startTime)


Parameters

nodeId String


namespaceIndex Int32


startTime Nullable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistory(String, Int32, Nullable<DateTime>, Nullable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistory(string nodeId, int namespaceIndex, DateTime? startTime, DateTime? endTime)


Parameters

nodeId String


namespaceIndex Int32


startTime Nullable<DateTime>


endTime Nullable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistory(String, Nullable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistory(string nodeId, DateTime? startTime)


Parameters

nodeId String


startTime Nullable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistory(String, Nullable<DateTime>, Nullable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistory(string nodeId, DateTime? startTime, DateTime? endTime)


Parameters

nodeId String


startTime Nullable<DateTime>


endTime Nullable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryAtTime(Int32, DateTime)

C#

public OpcStatusCollection DeleteNodeHistoryAtTime(int nodeId, DateTime time)


Parameters

nodeId Int32


time DateTime



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryAtTime(Int32, DateTime[])

C#

public OpcStatusCollection DeleteNodeHistoryAtTime(int nodeId, params DateTime[] times)


Parameters

nodeId Int32


times DateTime[]



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryAtTime(Int32, IEnumerable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistoryAtTime(int nodeId, IEnumerable<DateTime> times)


Parameters

nodeId Int32


times IEnumerable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryAtTime(Int32, Int32, DateTime)

C#

public OpcStatus DeleteNodeHistoryAtTime(int nodeId, int namespaceIndex, DateTime time)


Parameters

nodeId Int32


namespaceIndex Int32


time DateTime



Returns

OpcStatus



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryAtTime(Int32, Int32, DateTime[])

C#

public OpcStatusCollection DeleteNodeHistoryAtTime(int nodeId, int namespaceIndex, params DateTime[] times)


Parameters

nodeId Int32


namespaceIndex Int32


times DateTime[]



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryAtTime(Int32, Int32, IEnumerable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistoryAtTime(int nodeId, int namespaceIndex, IEnumerable<DateTime> times)


Parameters

nodeId Int32


namespaceIndex Int32


times IEnumerable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryAtTime(OpcDeleteNodeHistoryAtTime)

C#

public OpcStatusCollection DeleteNodeHistoryAtTime(OpcDeleteNodeHistoryAtTime command)


Parameters

command OpcDeleteNodeHistoryAtTime



Returns

OpcStatusCollection



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryAtTime(OpcNodeId, DateTime)

C#

public OpcStatus DeleteNodeHistoryAtTime(OpcNodeId nodeId, DateTime time)


Parameters

nodeId OpcNodeId


time DateTime



Returns

OpcStatus



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryAtTime(OpcNodeId, DateTime[])

C#

public OpcStatusCollection DeleteNodeHistoryAtTime(OpcNodeId nodeId, params DateTime[] times)


Parameters

nodeId OpcNodeId


times DateTime[]



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryAtTime(OpcNodeId, IEnumerable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistoryAtTime(OpcNodeId nodeId, IEnumerable<DateTime> times)


Parameters

nodeId OpcNodeId


times IEnumerable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryAtTime(String, DateTime)

C#

public OpcStatus DeleteNodeHistoryAtTime(string nodeId, DateTime time)


Parameters

nodeId String


time DateTime



Returns

OpcStatus



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryAtTime(String, DateTime[])

C#

public OpcStatusCollection DeleteNodeHistoryAtTime(string nodeId, params DateTime[] times)


Parameters

nodeId String


times DateTime[]



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryAtTime(String, IEnumerable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistoryAtTime(string nodeId, IEnumerable<DateTime> times)


Parameters

nodeId String


times IEnumerable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryAtTime(String, Int32, DateTime)

C#

public OpcStatus DeleteNodeHistoryAtTime(string nodeId, int namespaceIndex, DateTime time)


Parameters

nodeId String


namespaceIndex Int32


time DateTime



Returns

OpcStatus



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryAtTime(String, Int32, DateTime[])

C#

public OpcStatusCollection DeleteNodeHistoryAtTime(string nodeId, int namespaceIndex, params DateTime[] times)


Parameters

nodeId String


namespaceIndex Int32


times DateTime[]



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryAtTime(String, Int32, IEnumerable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistoryAtTime(string nodeId, int namespaceIndex, IEnumerable<DateTime> times)


Parameters

nodeId String


namespaceIndex Int32


times IEnumerable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryModified(Int32)

C#

public OpcStatusCollection DeleteNodeHistoryModified(int nodeId)


Parameters

nodeId Int32



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryModified(Int32, Int32)

C#

public OpcStatusCollection DeleteNodeHistoryModified(int nodeId, int namespaceIndex)


Parameters

nodeId Int32


namespaceIndex Int32



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryModified(Int32, Int32, Nullable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistoryModified(int nodeId, int namespaceIndex, DateTime? startTime)


Parameters

nodeId Int32


namespaceIndex Int32


startTime Nullable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryModified(Int32, Int32, Nullable<DateTime>, Nullable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistoryModified(int nodeId, int namespaceIndex, DateTime? startTime, DateTime? endTime)


Parameters

nodeId Int32


namespaceIndex Int32


startTime Nullable<DateTime>


endTime Nullable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryModified(Int32, Nullable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistoryModified(int nodeId, DateTime? startTime)


Parameters

nodeId Int32


startTime Nullable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryModified(Int32, Nullable<DateTime>, Nullable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistoryModified(int nodeId, DateTime? startTime, DateTime? endTime)


Parameters

nodeId Int32


startTime Nullable<DateTime>


endTime Nullable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryModified(OpcDeleteNodeHistoryModified)

C#

public OpcStatusCollection DeleteNodeHistoryModified(OpcDeleteNodeHistoryModified command)


Parameters

command OpcDeleteNodeHistoryModified



Returns

OpcStatusCollection



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryModified(OpcNodeId)

C#

public OpcStatusCollection DeleteNodeHistoryModified(OpcNodeId nodeId)


Parameters

nodeId OpcNodeId



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryModified(OpcNodeId, Nullable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistoryModified(OpcNodeId nodeId, DateTime? startTime)


Parameters

nodeId OpcNodeId


startTime Nullable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryModified(OpcNodeId, Nullable<DateTime>, Nullable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistoryModified(OpcNodeId nodeId, DateTime? startTime, DateTime? endTime)


Parameters

nodeId OpcNodeId


startTime Nullable<DateTime>


endTime Nullable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryModified(String)

C#

public OpcStatusCollection DeleteNodeHistoryModified(string nodeId)


Parameters

nodeId String



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryModified(String, Int32)

C#

public OpcStatusCollection DeleteNodeHistoryModified(string nodeId, int namespaceIndex)


Parameters

nodeId String


namespaceIndex Int32



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryModified(String, Int32, Nullable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistoryModified(string nodeId, int namespaceIndex, DateTime? startTime)


Parameters

nodeId String


namespaceIndex Int32


startTime Nullable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryModified(String, Int32, Nullable<DateTime>, Nullable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistoryModified(string nodeId, int namespaceIndex, DateTime? startTime, DateTime? endTime)


Parameters

nodeId String


namespaceIndex Int32


startTime Nullable<DateTime>


endTime Nullable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryModified(String, Nullable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistoryModified(string nodeId, DateTime? startTime)


Parameters

nodeId String


startTime Nullable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodeHistoryModified(String, Nullable<DateTime>, Nullable<DateTime>)

C#

public OpcStatusCollection DeleteNodeHistoryModified(string nodeId, DateTime? startTime, DateTime? endTime)


Parameters

nodeId String


startTime Nullable<DateTime>


endTime Nullable<DateTime>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodes(IEnumerable<OpcDeleteNode>)

Deletes one or more nodes from the address space hierarchy using the commands specified.

C#

public OpcStatusCollection DeleteNodes(IEnumerable<OpcDeleteNode> commands)


Parameters

commands IEnumerable<OpcDeleteNode>

A sequence of OpcDeleteNode instances to process.


Returns

OpcStatusCollection

An instance of the OpcStatusCollection class which contains the information about the outcome of each processed command.



Exceptions

ArgumentNullException

The commands sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The delete node service is currently not supported, especially using the commands specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the commands specified are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadNoDeleteRights For more details see BadNoDeleteRights.
UncertainReferenceNotDeleted The server was not able to delete all target references.

DeleteNodes(IEnumerable<OpcNodeId>)

Deletes one or more nodes from the address space hierarchy using the identifiers of the nodes which shall be deleted including the references where the node acts as the source and as the target of the reference.

C#

public OpcStatusCollection DeleteNodes(IEnumerable<OpcNodeId> nodeIds)


Parameters

nodeIds IEnumerable<OpcNodeId>

A sequence of OpcNodeId instances through that the nodes to delete can be identified and accessed.


Returns

OpcStatusCollection



Exceptions

ArgumentException

One of the OpcNodeId instances in nodeIds is equals Null.

ArgumentNullException

The nodeIds is a null reference (Nothing in Visual Basic).

InvalidOperationException

The delete node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadNoDeleteRights For more details see BadNoDeleteRights.
UncertainReferenceNotDeleted The server was not able to delete all target references.

DeleteNodes(OpcDeleteNode[])

Deletes one or more nodes from the address space hierarchy using the commands specified.

C#

public OpcStatusCollection DeleteNodes(params OpcDeleteNode[] commands)


Parameters

commands OpcDeleteNode[]

An array of OpcDeleteNode instances to process.


Returns

OpcStatusCollection

An instance of the OpcStatusCollection class which contains the information about the outcome of each processed command.



Exceptions

ArgumentNullException

The commands sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The delete node service is currently not supported, especially using the commands specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the commands specified are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadNoDeleteRights For more details see BadNoDeleteRights.
UncertainReferenceNotDeleted The server was not able to delete all target references.

DeleteNodes(OpcNodeId[])

Deletes one or more nodes from the address space hierarchy using the identifiers of the nodes which shall be deleted including the references where the node acts as the source and as the target of the reference.

C#

public OpcStatusCollection DeleteNodes(params OpcNodeId[] nodeIds)


Parameters

nodeIds OpcNodeId[]

An array of OpcNodeId instances through that the nodes to delete can be identified and accessed.


Returns

OpcStatusCollection



Exceptions

ArgumentException

One of the OpcNodeId instances in nodeIds is equals Null.

ArgumentNullException

The nodeIds is a null reference (Nothing in Visual Basic).

InvalidOperationException

The delete node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadNoDeleteRights For more details see BadNoDeleteRights.
UncertainReferenceNotDeleted The server was not able to delete all target references.

DeleteNodesHistory(IEnumerable<OpcDeleteNodeHistory>)

C#

public IDictionary<OpcNodeId, OpcStatusCollection> DeleteNodesHistory(IEnumerable<OpcDeleteNodeHistory> commands)


Parameters

commands IEnumerable<OpcDeleteNodeHistory>



Returns

IDictionary<OpcNodeId, OpcStatusCollection>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodesHistory(OpcDeleteNodeHistory[])

C#

public IDictionary<OpcNodeId, OpcStatusCollection> DeleteNodesHistory(params OpcDeleteNodeHistory[] commands)


Parameters

commands OpcDeleteNodeHistory[]



Returns

IDictionary<OpcNodeId, OpcStatusCollection>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodesHistoryAtTime(IEnumerable<OpcDeleteNodeHistoryAtTime>)

C#

public IDictionary<OpcNodeId, OpcStatusCollection> DeleteNodesHistoryAtTime(IEnumerable<OpcDeleteNodeHistoryAtTime> commands)


Parameters

commands IEnumerable<OpcDeleteNodeHistoryAtTime>



Returns

IDictionary<OpcNodeId, OpcStatusCollection>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodesHistoryAtTime(OpcDeleteNodeHistoryAtTime[])

C#

public IDictionary<OpcNodeId, OpcStatusCollection> DeleteNodesHistoryAtTime(params OpcDeleteNodeHistoryAtTime[] commands)


Parameters

commands OpcDeleteNodeHistoryAtTime[]



Returns

IDictionary<OpcNodeId, OpcStatusCollection>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodesHistoryModified(IEnumerable<OpcDeleteNodeHistoryModified>)

C#

public IDictionary<OpcNodeId, OpcStatusCollection> DeleteNodesHistoryModified(IEnumerable<OpcDeleteNodeHistoryModified> commands)


Parameters

commands IEnumerable<OpcDeleteNodeHistoryModified>



Returns

IDictionary<OpcNodeId, OpcStatusCollection>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteNodesHistoryModified(OpcDeleteNodeHistoryModified[])

C#

public IDictionary<OpcNodeId, OpcStatusCollection> DeleteNodesHistoryModified(params OpcDeleteNodeHistoryModified[] commands)


Parameters

commands OpcDeleteNodeHistoryModified[]



Returns

IDictionary<OpcNodeId, OpcStatusCollection>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


DeleteReference(OpcDeleteReference)

Deletes a reference of existing nodes in the address space hierarchy using the command specified.

C#

public OpcStatus DeleteReference(OpcDeleteReference command)


Parameters

command OpcDeleteReference

The OpcDeleteReference instance to process.


Returns

OpcStatus

An instance of the OpcStatus class which contains the information about the outcome of the processed command.



Exceptions

ArgumentNullException

The command is a null reference (Nothing in Visual Basic).

InvalidOperationException

The add node service is currently not supported, especially using the command specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the command specified are:

Status Description
BadSourceNodeIdInvalid For more details see BadSourceNodeIdInvalid.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadServerIndexInvalid The server index is not valid.
BadTargetNodeIdInvalid For more details see BadTargetNodeIdInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadNoDeleteRights For more details see BadNoDeleteRights.

DeleteReference(OpcNodeId, OpcNodeId)

Deletes one or more references of existing nodes in the address space hierarchy using the identifiers of the nodes which shall not longer reference each other. The relation is deleted in bidirectional direction using Organizes as the type of reference.

C#

public OpcStatus DeleteReference(OpcNodeId nodeId, OpcNodeId targetNodeId)


Parameters

nodeId OpcNodeId

The OpcNodeId through that the source node can be identified and accessed.

targetNodeId OpcNodeId

The OpcNodeId through that the target node can be identified and accessed.


Returns

OpcStatus



Exceptions

ArgumentException

The nodeId or targetNodeId is equals Null.

ArgumentNullException

The nodeId or targetNodeId is a null reference (Nothing in Visual Basic).

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadSourceNodeIdInvalid For more details see BadSourceNodeIdInvalid.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadServerIndexInvalid The server index is not valid.
BadTargetNodeIdInvalid For more details see BadTargetNodeIdInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadNoDeleteRights For more details see BadNoDeleteRights.

DeleteReference(OpcNodeId, OpcNodeId, Nullable<OpcReferenceDirection>)

Deletes one or more references of existing nodes in the address space hierarchy using the identifiers of the nodes which shall not longer reference each other using the direction specified. The reference to delete have to be of the relation defined by direction using the Organizes as the type of reference.

C#

public OpcStatus DeleteReference(OpcNodeId nodeId, OpcNodeId targetNodeId, OpcReferenceDirection? direction)


Parameters

nodeId OpcNodeId

The OpcNodeId through that the source node can be identified and accessed.

targetNodeId OpcNodeId

The OpcNodeId through that the target node can be identified and accessed.

direction Nullable<OpcReferenceDirection>

One of the members defined by the OpcReferenceDirection enumeration which defines the kind of relation of reference to delete or a null reference (Nothing in Visual Basic) in case there the relation is to be deleted in bidirectional direction.


Returns

OpcStatus



Exceptions

ArgumentException

The nodeId or targetNodeId is equals Null.

ArgumentNullException

The nodeId or targetNodeId is a null reference (Nothing in Visual Basic).

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadSourceNodeIdInvalid For more details see BadSourceNodeIdInvalid.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadServerIndexInvalid The server index is not valid.
BadTargetNodeIdInvalid For more details see BadTargetNodeIdInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadNoDeleteRights For more details see BadNoDeleteRights.

DeleteReference(OpcNodeId, OpcNodeId, Nullable<OpcReferenceDirection>, OpcNodeId)

Deletes one or more references of existing nodes in the address space hierarchy using the identifiers of the nodes which shall not longer reference each other using the direction specified. The reference to delete have to be of the relation defined by direction using the type of reference identified by the referenceTypeId specified.

C#

public OpcStatus DeleteReference(OpcNodeId nodeId, OpcNodeId targetNodeId, OpcReferenceDirection? direction, OpcNodeId referenceTypeId)


Parameters

nodeId OpcNodeId

The OpcNodeId through that the source node can be identified and accessed.

targetNodeId OpcNodeId

The OpcNodeId through that the target node can be identified and accessed.

direction Nullable<OpcReferenceDirection>

One of the members defined by the OpcReferenceDirection enumeration which defines the kind of relation of reference to delete or a null reference (Nothing in Visual Basic) in case there the relation is to be deleted in bidirectional direction.

referenceTypeId OpcNodeId

The OpcNodeId which identifies the type of reference to use to setup the reference between the source and the target node identified by the nodeId and the targetNodeId.


Returns

OpcStatus



Exceptions

ArgumentException

The nodeId, targetNodeId or referenceTypeId is equals Null.

ArgumentNullException

The nodeId, targetNodeId or referenceTypeId is a null reference (Nothing in Visual Basic).

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadSourceNodeIdInvalid For more details see BadSourceNodeIdInvalid.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadServerIndexInvalid The server index is not valid.
BadTargetNodeIdInvalid For more details see BadTargetNodeIdInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadNoDeleteRights For more details see BadNoDeleteRights.

DeleteReference(OpcNodeId, OpcNodeId, Nullable<OpcReferenceDirection>, OpcReferenceType)

Deletes one or more references of existing nodes in the address space hierarchy using the identifiers of the nodes which shall not longer reference each other using the direction specified. The reference to delete have to be of the relation defined by direction using the referenceType specified as the type of reference.

C#

public OpcStatus DeleteReference(OpcNodeId nodeId, OpcNodeId targetNodeId, OpcReferenceDirection? direction, OpcReferenceType referenceType)


Parameters

nodeId OpcNodeId

The OpcNodeId through that the source node can be identified and accessed.

targetNodeId OpcNodeId

The OpcNodeId through that the target node can be identified and accessed.

direction Nullable<OpcReferenceDirection>

One of the members defined by the OpcReferenceDirection enumeration which defines the kind of relation of reference to delete or a null reference (Nothing in Visual Basic) in case there the relation is to be deleted in bidirectional direction.

referenceType OpcReferenceType

One of the members defined by the OpcReferenceType enumeration to use to setup the reference between the source and the target node identified by the nodeId and the targetNodeId.


Returns

OpcStatus



Exceptions

ArgumentException

The nodeId or targetNodeId is equals Null.

ArgumentNullException

The nodeId or targetNodeId is a null reference (Nothing in Visual Basic).

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadSourceNodeIdInvalid For more details see BadSourceNodeIdInvalid.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadServerIndexInvalid The server index is not valid.
BadTargetNodeIdInvalid For more details see BadTargetNodeIdInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadNoDeleteRights For more details see BadNoDeleteRights.

DeleteReferences(IEnumerable<OpcDeleteReference>)

Deletes one or more references of existing nodes in the address space hierarchy using the commands specified.

C#

public OpcStatusCollection DeleteReferences(IEnumerable<OpcDeleteReference> commands)


Parameters

commands IEnumerable<OpcDeleteReference>

A sequence of OpcDeleteReference instances to process.


Returns

OpcStatusCollection

An instance of the OpcStatusCollection class which contains the information about the outcome of each processed command.



Exceptions

ArgumentNullException

The commands sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The delete reference service is currently not supported, especially using the commands specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the commands specified are:

Status Description
BadSourceNodeIdInvalid For more details see BadSourceNodeIdInvalid.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadServerIndexInvalid The server index is not valid.
BadTargetNodeIdInvalid For more details see BadTargetNodeIdInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadNoDeleteRights For more details see BadNoDeleteRights.

DeleteReferences(OpcDeleteReference[])

Deletes one or more references of existing nodes in the address space hierarchy using the commands specified.

C#

public OpcStatusCollection DeleteReferences(params OpcDeleteReference[] commands)


Parameters

commands OpcDeleteReference[]

An array of OpcDeleteReference instances to process.


Returns

OpcStatusCollection

An instance of the OpcStatusCollection class which contains the information about the outcome of each processed command.



Exceptions

ArgumentNullException

The commands sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The delete reference service is currently not supported, especially using the commands specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the commands specified are:

Status Description
BadSourceNodeIdInvalid For more details see BadSourceNodeIdInvalid.
BadReferenceTypeIdInvalid For more details see BadReferenceTypeIdInvalid.
BadServerIndexInvalid The server index is not valid.
BadTargetNodeIdInvalid For more details see BadTargetNodeIdInvalid.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadNoDeleteRights For more details see BadNoDeleteRights.

DenyIfNotConnected()

Verifies whether the client is connected to the server.

C#

protected void DenyIfNotConnected()



Exceptions

OpcException

The client is not connected to the server.

Disconnect()

Closes an activated session and terminates the connection to the server.

C#

public void Disconnect()



Exceptions

InvalidOperationException

The method is currently not supported, because of the license has expired.

ObjectDisposedException

The object has been disposed of.

OpcException


DisconnectCore()

Performs all necessary tasks to close an activated session and to terminate the connection to the server.

C#

protected virtual void DisconnectCore()

Dispose(Boolean)

Releases the unmanaged resources used by the OpcClient and optionally releases the managed resources.

C#

protected override void Dispose(bool disposing)


Parameters

disposing Boolean

The value true to release both managed and unmanaged resources; otherwise the value false to release only unmanaged resources.

GetDataType(OpcEncoding)

Retrieves the OpcDataTypeInfo object which declares the type which is identified by the encoding specified.

C#

public OpcDataTypeInfo GetDataType(OpcEncoding encoding)


Parameters

encoding OpcEncoding

The OpcEncoding which identifies the OpcDataTypeInfo to retrieve.


Returns

OpcDataTypeInfo

The OpcDataTypeInfo object which is known under the encoding specified or a null reference (Nothing in Visual Basic) if there doesn't exist a known OpcDataTypeInfo which is associated with the encoding specified.



Exceptions

ArgumentNullException

The encoding is a null reference (Nothing in Visual Basic).

GetDataType(OpcName)

Retrieves the OpcDataTypeInfo object which is known under the name specified.

C#

public OpcDataTypeInfo GetDataType(OpcName name)


Parameters

name OpcName

The OpcName of the OpcDataTypeInfo object to retrieve.


Returns

OpcDataTypeInfo

The OpcDataTypeInfo object its Name is equals to the name specified; otherwise a null reference (Nothing in Visual Basic).



Exceptions

ArgumentNullException

The name is a null reference (Nothing in Visual Basic).

GetDataType(OpcNodeId)

Retrieves the OpcDataTypeInfo object which declares the type which is identified by the typeId specified.

C#

public OpcDataTypeInfo GetDataType(OpcNodeId typeId)


Parameters

typeId OpcNodeId

The OpcNodeId which identifies the OpcDataTypeInfo to retrieve.


Returns

OpcDataTypeInfo

The OpcDataTypeInfo object which is known under the typeId specified or a null reference (Nothing in Visual Basic) if there doesn't exist a known OpcDataTypeInfo object which is associated with the typeId specified.



Exceptions

ArgumentNullException

The typeId is a null reference (Nothing in Visual Basic).

GetDataType(String)

Retrieves the OpcDataTypeInfo object which is known under the name specified.

C#

public OpcDataTypeInfo GetDataType(string name)


Parameters

name String

The String to use to identify the OpcDataTypeInfo object to retrieve.


Returns

OpcDataTypeInfo

The OpcDataTypeInfo object its Name is equals (regarding its Value) to the name specified; otherwise a null reference (Nothing in Visual Basic).



Exceptions

ArgumentException

The name is equals Empty.

ArgumentNullException

The name is a null reference (Nothing in Visual Basic).

GetDataType(Type)

Retrieves the OpcDataTypeInfo object which declares the type implemented by the underlyingType specified.

C#

public OpcDataTypeInfo GetDataType(Type underlyingType)


Parameters

underlyingType Type

The Type which implements the OpcDataTypeInfo to retrieve.


Returns

OpcDataTypeInfo

The OpcDataTypeInfo object which declares the underlyingType specified or a null reference (Nothing in Visual Basic) if there isn't a OpcDataTypeInfo object associated with the underlyingType specified.



Exceptions

ArgumentNullException

The underlyingType is a null reference (Nothing in Visual Basic).

GetDataType(XmlQualifiedName)

Retrieves the OpcDataTypeInfo object which is known under the xmlName specified.

C#

public OpcDataTypeInfo GetDataType(XmlQualifiedName xmlName)


Parameters

xmlName XmlQualifiedName

The XmlQualifiedName of the OpcDataTypeInfo object to retrieve.


Returns

OpcDataTypeInfo

The OpcDataTypeInfo object its XmlName is equals to the xmlName specified; otherwise a null reference (Nothing in Visual Basic).



Exceptions

ArgumentNullException

The xmlName is a null reference (Nothing in Visual Basic).

GetDataTypes()

Retrieves all OpcDataTypeInfo objects offered by the IOpcTypeProvider.

C#

public OpcDataTypeInfo[] GetDataTypes()


Returns

OpcDataTypeInfo[]

An array that contains all OpcDataTypeInfo objects that are offered by the IOpcTypeProvider.

GetDataTypeSystem()

Retrieves the system used to describe the data exchanged via OPC UA using the type of encoding configured by the client and supported by the endpdoint of the server connected to.

C#

public OpcDataTypeSystem GetDataTypeSystem()


Returns

OpcDataTypeSystem

An instance of the OpcDataTypeSystem class which can be used to understand the structure of the data exchanged using a specific type of encoding (see OpcEncodingType).



Exceptions

InvalidOperationException

The requested operation is currently not supported.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details.


Remarks

Querying the data type system may fail in case there MaxByteStringLength and MaxMessageSize are exceeded. The transport configuration needs to be adjusted to query larger type systems.

The OpcDataTypeSystem offered represents by default the data type system defined in address space of the server and its data type information is queried on-demand using different request operations. This “overhead” can be overcome using an offline stored OpcNodeSet which needs to be loaded and assigned to the NodeSet property of the current OpcClient.

In case there NodeSet property has been set to an instance of the OpcNodeSet class the offered OpcDataTypeSystem expresses the data type information contained in the NodeSet configured.

GetNodeType(OpcName)

Retrieves the OpcNodeTypeInfo object which is known under the name specified.

C#

public OpcNodeTypeInfo GetNodeType(OpcName name)


Parameters

name OpcName

The OpcName of the OpcNodeTypeInfo object to retrieve.


Returns

OpcNodeTypeInfo

The OpcNodeTypeInfo object its Name is equals to the name specified; otherwise a null reference (Nothing in Visual Basic).



Exceptions

ArgumentNullException

The name is a null reference (Nothing in Visual Basic).

GetNodeType(OpcNodeId)

Retrieves the OpcNodeTypeInfo object which declares the type which is identified by the typeId specified.

C#

public OpcNodeTypeInfo GetNodeType(OpcNodeId typeId)


Parameters

typeId OpcNodeId

The OpcNodeId which identifies the OpcNodeTypeInfo to retrieve.


Returns

OpcNodeTypeInfo

The OpcNodeTypeInfo object which is known under the typeId specified or a null reference (Nothing in Visual Basic) if there doesn't exist a known OpcNodeTypeInfo object which is associated with the typeId specified.



Exceptions

ArgumentNullException

The typeId is a null reference (Nothing in Visual Basic).

GetNodeType(String)

Retrieves the OpcNodeTypeInfo object which is known under the name specified.

C#

public OpcNodeTypeInfo GetNodeType(string name)


Parameters

name String

The String to use to identify the OpcNodeTypeInfo object to retrieve.


Returns

OpcNodeTypeInfo

The OpcNodeTypeInfo object its Name is equals (regarding its Value) to the name specified; otherwise a null reference (Nothing in Visual Basic).



Exceptions

ArgumentException

The name is equals Empty.

ArgumentNullException

The name is a null reference (Nothing in Visual Basic).

GetNodeType(Type)

Retrieves the OpcNodeTypeInfo object which declares the type implemented by the underlyingType specified.

C#

public OpcNodeTypeInfo GetNodeType(Type underlyingType)


Parameters

underlyingType Type

The Type which implements the OpcNodeTypeInfo to retrieve.


Returns

OpcNodeTypeInfo

The OpcNodeTypeInfo object which declares the underlyingType specified or a null reference (Nothing in Visual Basic) if there isn't a OpcNodeTypeInfo object associated with the underlyingType specified.



Exceptions

ArgumentNullException

The underlyingType is a null reference (Nothing in Visual Basic).

GetNodeTypes()

Retrieves all OpcNodeTypeInfo objects offered by the IOpcTypeProvider.

C#

public OpcNodeTypeInfo[] GetNodeTypes()


Returns

OpcNodeTypeInfo[]

An array that contains all OpcNodeTypeInfo objects that are offered by the IOpcTypeProvider.

GetNodeTypeSystem()

Retrieves the system used to describe the type of nodes accessed on the server connected to.

C#

public OpcNodeTypeSystem GetNodeTypeSystem()


Returns

OpcNodeTypeSystem

An instance of the OpcNodeTypeSystem class which can be used to understand the structure of the nodes accessed.



Exceptions

InvalidOperationException

The requested operation is currently not supported.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details.


Remarks

The OpcNodeTypeSystem offered represents by default the node type system defined in address space of the server and its node type information is queried on-demand using different request operations. This “overhead” can be overcome using an offline stored OpcNodeSet which needs to be loaded and assigned to the NodeSet property of the current OpcClient.

In case there NodeSet property has been set to an instance of the OpcNodeSet class the offered OpcNodeTypeSystem expresses the node type information contained in the NodeSet configured.

OnBreakDetected(KeepAliveEventArgs)

Raises the BreakDetected event of the OpcClient.

C#

[CLSCompliant(false)]
protected virtual void OnBreakDetected(KeepAliveEventArgs e)


Parameters

e Client.KeepAliveEventArgs

The event data.

OnCertificateJudgement(OpcCertificateJudgementEventArgs)

Raises the CertificateJudgement event of the OpcClient.

C#

protected virtual void OnCertificateJudgement(OpcCertificateJudgementEventArgs e)


Parameters

e OpcCertificateJudgementEventArgs

The event data.

OnConnected(EventArgs)

Raises the Connected event of the OpcClient.

C#

protected virtual void OnConnected(EventArgs e)


Parameters

e EventArgs

The event data.

OnConnecting(EventArgs)

Raises the Connecting event of the OpcClient.

C#

protected virtual void OnConnecting(EventArgs e)


Parameters

e EventArgs

The event data.

OnDataChangeReceived(OpcDataChangeReceivedEventArgs)

Raises the DataChangeReceived event of the OpcClient.

C#

protected virtual void OnDataChangeReceived(OpcDataChangeReceivedEventArgs e)


Parameters

e OpcDataChangeReceivedEventArgs

The event data.

OnDialogRequested(OpcDialogRequestedEventArgs)

Raises the DialogRequested event of the OpcClient.

C#

protected virtual void OnDialogRequested(OpcDialogRequestedEventArgs e)


Parameters

e OpcDialogRequestedEventArgs

The event data.

OnDisconnected(EventArgs)

Raises the Disconnected event of the OpcClient.

C#

protected virtual void OnDisconnected(EventArgs e)


Parameters

e EventArgs

The event data.

OnDisconnecting(EventArgs)

Raises the Disconnecting event of the OpcClient.

C#

protected virtual void OnDisconnecting(EventArgs e)


Parameters

e EventArgs

The event data.

OnEventReceived(OpcEventReceivedEventArgs)

Raises the EventReceived event of the OpcClient.

C#

protected virtual void OnEventReceived(OpcEventReceivedEventArgs e)


Parameters

e OpcEventReceivedEventArgs

The event data.

OnNotificationReceived(OpcNotificationReceivedEventArgs)

Raises the NotificationReceived event of the OpcClient.

C#

protected virtual void OnNotificationReceived(OpcNotificationReceivedEventArgs e)


Parameters

e OpcNotificationReceivedEventArgs

The event data.

OnReconnected(EventArgs)

Raises the Reconnected event of the OpcClient.

C#

protected virtual void OnReconnected(EventArgs e)


Parameters

e EventArgs

The event data.

OnReconnecting(EventArgs)

Raises the Reconnecting event of the OpcClient.

C#

protected virtual void OnReconnecting(EventArgs e)


Parameters

e EventArgs

The event data.

OnStateChanged(OpcClientStateChangedEventArgs)

Raises the StateChanged event of the OpcClient.

C#

protected virtual void OnStateChanged(OpcClientStateChangedEventArgs e)


Parameters

e OpcClientStateChangedEventArgs

The event data.

OnSubscriptionsChanged(EventArgs)

C#

protected virtual void OnSubscriptionsChanged(EventArgs e)


Parameters

e EventArgs


ReadNode(Int32)

Reads the Value attribute of the node specified by nodeId.

C#

public OpcValue ReadNode(int nodeId)


Parameters

nodeId Int32

The numeric node identifier of the node to read.


Returns

OpcValue

An instance of the OpcValue class which stores the value requested.



Exceptions

ArgumentException

The nodeId is equals zero.

InvalidOperationException

The read service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.


Remarks

Known results for the operation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadDataEncodingInvalid For more details see BadDataEncodingInvalid.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNotReadable For more details see BadNotReadable.
BadUserAccessDenied For more details see BadUserAccessDenied.

ReadNode(Int32, Int32)

Reads the Value attribute of the node specified by nodeId and namespaceIndex.

C#

public OpcValue ReadNode(int nodeId, int namespaceIndex)


Parameters

nodeId Int32

The numeric node identifier of the node to read.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.


Returns

OpcValue

An instance of the OpcValue class which stores the value requested.



Exceptions

ArgumentException

The nodeId is an empty string.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The read service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.


Remarks

Known results for the operation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadDataEncodingInvalid For more details see BadDataEncodingInvalid.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNotReadable For more details see BadNotReadable.
BadUserAccessDenied For more details see BadUserAccessDenied.

ReadNode(Int32, Int32, OpcAttribute)

Reads the attribute of the node specified by nodeId and namespaceIndex.

C#

public OpcValue ReadNode(int nodeId, int namespaceIndex, OpcAttribute attribute)


Parameters

nodeId Int32

The numeric node identifier of the node to read.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.


Returns

OpcValue

An instance of the OpcValue class which stores the value requested.



Exceptions

ArgumentException

The nodeId is equals zero.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The read service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.


Remarks

Known results for the operation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadDataEncodingInvalid For more details see BadDataEncodingInvalid.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNotReadable For more details see BadNotReadable.
BadUserAccessDenied For more details see BadUserAccessDenied.

ReadNode(Int32, OpcAttribute)

Reads the attribute of the node specified by nodeId.

C#

public OpcValue ReadNode(int nodeId, OpcAttribute attribute)


Parameters

nodeId Int32

The numeric node identifier of the node to read.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.


Returns

OpcValue

An instance of the OpcValue class which stores the value requested.



Exceptions

ArgumentException

The nodeId is equals zero.

InvalidOperationException

The read service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.


Remarks

Known results for the operation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadDataEncodingInvalid For more details see BadDataEncodingInvalid.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNotReadable For more details see BadNotReadable.
BadUserAccessDenied For more details see BadUserAccessDenied.

ReadNode(OpcNodeId)

Reads the Value attribute of the node specified by nodeId.

C#

public OpcValue ReadNode(OpcNodeId nodeId)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node to read.


Returns

OpcValue

An instance of the OpcValue class which stores the value requested.



Exceptions

ArgumentException

The nodeId indicates to be a null-node-id (see IsNull).

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The read service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.


Remarks

Known results for the operation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadDataEncodingInvalid For more details see BadDataEncodingInvalid.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNotReadable For more details see BadNotReadable.
BadUserAccessDenied For more details see BadUserAccessDenied.

ReadNode(OpcNodeId, OpcAttribute)

Reads the attribute of the node specified by nodeId.

C#

public OpcValue ReadNode(OpcNodeId nodeId, OpcAttribute attribute)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node to read.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.


Returns

OpcValue

An instance of the OpcValue class which stores the value requested.



Exceptions

ArgumentException

The nodeId indicates to be a null-node-id (see IsNull).

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The read service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.


Remarks

Known results for the operation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadDataEncodingInvalid For more details see BadDataEncodingInvalid.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNotReadable For more details see BadNotReadable.
BadUserAccessDenied For more details see BadUserAccessDenied.

ReadNode(OpcReadNode)

Reads the value of an attribute of a node using the specified command.

C#

public OpcValue ReadNode(OpcReadNode command)


Parameters

command OpcReadNode

The OpcReadNode instance to process.


Returns

OpcValue

An instance of the OpcValue class which stores the value requested by the command.



Exceptions

ArgumentNullException

The command is a null reference (Nothing in Visual Basic).

InvalidOperationException

The read service is currently not supported, especially using the command specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.


Remarks

Known results for the operation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadDataEncodingInvalid For more details see BadDataEncodingInvalid.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNotReadable For more details see BadNotReadable.
BadUserAccessDenied For more details see BadUserAccessDenied.

ReadNode(String)

Reads the Value attribute of the node specified by nodeId.

C#

public OpcValue ReadNode(string nodeId)


Parameters

nodeId String

The textual node identifier of the node to read.


Returns

OpcValue

An instance of the OpcValue class which stores the value requested.



Exceptions

ArgumentException

The nodeId is an empty string.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The read service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.


Remarks

Known results for the operation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadDataEncodingInvalid For more details see BadDataEncodingInvalid.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNotReadable For more details see BadNotReadable.
BadUserAccessDenied For more details see BadUserAccessDenied.

ReadNode(String, Int32)

Reads the Value attribute of the node specified by nodeId and namespaceIndex.

C#

public OpcValue ReadNode(string nodeId, int namespaceIndex)


Parameters

nodeId String

The textual node identifier of the node to read.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.


Returns

OpcValue

An instance of the OpcValue class which stores the value requested.



Exceptions

ArgumentException

The nodeId is an empty string.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The read service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.


Remarks

Known results for the operation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadDataEncodingInvalid For more details see BadDataEncodingInvalid.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNotReadable For more details see BadNotReadable.
BadUserAccessDenied For more details see BadUserAccessDenied.

ReadNode(String, Int32, OpcAttribute)

Reads the attribute of the node specified by nodeId and namespaceIndex.

C#

public OpcValue ReadNode(string nodeId, int namespaceIndex, OpcAttribute attribute)


Parameters

nodeId String

The textual node identifier of the node to read.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.


Returns

OpcValue

An instance of the OpcValue class which stores the value requested.



Exceptions

ArgumentException

The nodeId is an empty string.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The read service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.


Remarks

Known results for the operation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadDataEncodingInvalid For more details see BadDataEncodingInvalid.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNotReadable For more details see BadNotReadable.
BadUserAccessDenied For more details see BadUserAccessDenied.

ReadNode(String, OpcAttribute)

Reads the attribute of the node specified by nodeId.

C#

public OpcValue ReadNode(string nodeId, OpcAttribute attribute)


Parameters

nodeId String

The textual node identifier of the node to read.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.


Returns

OpcValue

An instance of the OpcValue class which stores the value requested.



Exceptions

ArgumentException

The nodeId is an empty string.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The read service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.


Remarks

Known results for the operation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadDataEncodingInvalid For more details see BadDataEncodingInvalid.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNotReadable For more details see BadNotReadable.
BadUserAccessDenied For more details see BadUserAccessDenied.

ReadNodeHistory(Int32, Int32)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(int numberOfValues, int nodeId)


Parameters

numberOfValues Int32


nodeId Int32



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistory(Int32, Int32, Int32)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(int numberOfValues, int nodeId, int namespaceIndex)


Parameters

numberOfValues Int32


nodeId Int32


namespaceIndex Int32



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistory(Int32, OpcNodeId)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(int numberOfValues, OpcNodeId nodeId)


Parameters

numberOfValues Int32


nodeId OpcNodeId



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistory(Int32, OpcReadNodeHistory)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(int numberOfValues, OpcReadNodeHistory command)


Parameters

numberOfValues Int32


command OpcReadNodeHistory



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistory(Int32, String)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(int numberOfValues, string nodeId)


Parameters

numberOfValues Int32


nodeId String



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistory(Int32, String, Int32)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(int numberOfValues, string nodeId, int namespaceIndex)


Parameters

numberOfValues Int32


nodeId String


namespaceIndex Int32



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistory(Nullable<DateTime>, Int32, Int32)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, int numberOfValues, int nodeId)


Parameters

startTime Nullable<DateTime>


numberOfValues Int32


nodeId Int32



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistory(Nullable<DateTime>, Int32, Int32, Int32)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, int numberOfValues, int nodeId, int namespaceIndex)


Parameters

startTime Nullable<DateTime>


numberOfValues Int32


nodeId Int32


namespaceIndex Int32



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistory(Nullable<DateTime>, Int32, OpcNodeId)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, int numberOfValues, OpcNodeId nodeId)


Parameters

startTime Nullable<DateTime>


numberOfValues Int32


nodeId OpcNodeId



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistory(Nullable<DateTime>, Int32, OpcReadNodeHistory)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, int numberOfValues, OpcReadNodeHistory command)


Parameters

startTime Nullable<DateTime>


numberOfValues Int32


command OpcReadNodeHistory



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistory(Nullable<DateTime>, Int32, String)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, int numberOfValues, string nodeId)


Parameters

startTime Nullable<DateTime>


numberOfValues Int32


nodeId String



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistory(Nullable<DateTime>, Int32, String, Int32)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, int numberOfValues, string nodeId, int namespaceIndex)


Parameters

startTime Nullable<DateTime>


numberOfValues Int32


nodeId String


namespaceIndex Int32



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistory(Nullable<DateTime>, Nullable<DateTime>, Int32)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, DateTime? endTime, int nodeId)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


nodeId Int32



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistory(Nullable<DateTime>, Nullable<DateTime>, Int32, Int32)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, DateTime? endTime, int numberOfValues, int nodeId)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


numberOfValues Int32


nodeId Int32



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistory(Nullable<DateTime>, Nullable<DateTime>, Int32, Int32, Int32)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, DateTime? endTime, int numberOfValues, int nodeId, int namespaceIndex)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


numberOfValues Int32


nodeId Int32


namespaceIndex Int32



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistory(Nullable<DateTime>, Nullable<DateTime>, Int32, OpcNodeId)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, DateTime? endTime, int numberOfValues, OpcNodeId nodeId)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


numberOfValues Int32


nodeId OpcNodeId



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistory(Nullable<DateTime>, Nullable<DateTime>, Int32, OpcReadNodeHistory)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, DateTime? endTime, int numberOfValues, OpcReadNodeHistory command)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


numberOfValues Int32


command OpcReadNodeHistory



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistory(Nullable<DateTime>, Nullable<DateTime>, Int32, String)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, DateTime? endTime, int numberOfValues, string nodeId)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


numberOfValues Int32


nodeId String



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistory(Nullable<DateTime>, Nullable<DateTime>, Int32, String, Int32)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, DateTime? endTime, int numberOfValues, string nodeId, int namespaceIndex)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


numberOfValues Int32


nodeId String


namespaceIndex Int32



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistory(Nullable<DateTime>, Nullable<DateTime>, OpcNodeId)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, DateTime? endTime, OpcNodeId nodeId)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


nodeId OpcNodeId



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistory(Nullable<DateTime>, Nullable<DateTime>, OpcReadNodeHistory)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, DateTime? endTime, OpcReadNodeHistory command)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


command OpcReadNodeHistory



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistory(Nullable<DateTime>, Nullable<DateTime>, String)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, DateTime? endTime, string nodeId)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


nodeId String



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistory(Nullable<DateTime>, Nullable<DateTime>, String, Int32)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistory(DateTime? startTime, DateTime? endTime, string nodeId, int namespaceIndex)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


nodeId String


namespaceIndex Int32



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryAtTime(DateTime, Int32)

C#

public OpcHistoryValue ReadNodeHistoryAtTime(DateTime time, int nodeId)


Parameters

time DateTime


nodeId Int32



Returns

OpcHistoryValue



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryAtTime(DateTime, Int32, Int32)

C#

public OpcHistoryValue ReadNodeHistoryAtTime(DateTime time, int nodeId, int namespaceIndex)


Parameters

time DateTime


nodeId Int32


namespaceIndex Int32



Returns

OpcHistoryValue



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryAtTime(DateTime, OpcNodeId)

C#

public OpcHistoryValue ReadNodeHistoryAtTime(DateTime time, OpcNodeId nodeId)


Parameters

time DateTime


nodeId OpcNodeId



Returns

OpcHistoryValue



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryAtTime(DateTime, OpcReadNodeHistory)

C#

public OpcHistoryValue ReadNodeHistoryAtTime(DateTime time, OpcReadNodeHistory command)


Parameters

time DateTime


command OpcReadNodeHistory



Returns

OpcHistoryValue



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryAtTime(DateTime, String)

C#

public OpcHistoryValue ReadNodeHistoryAtTime(DateTime time, string nodeId)


Parameters

time DateTime


nodeId String



Returns

OpcHistoryValue



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryAtTime(DateTime, String, Int32)

C#

public OpcHistoryValue ReadNodeHistoryAtTime(DateTime time, string nodeId, int namespaceIndex)


Parameters

time DateTime


nodeId String


namespaceIndex Int32



Returns

OpcHistoryValue



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryAtTime(DateTime[], Int32)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryAtTime(DateTime[] times, int nodeId)


Parameters

times DateTime[]


nodeId Int32



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryAtTime(DateTime[], Int32, Int32)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryAtTime(DateTime[] times, int nodeId, int namespaceIndex)


Parameters

times DateTime[]


nodeId Int32


namespaceIndex Int32



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryAtTime(DateTime[], OpcNodeId)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryAtTime(DateTime[] times, OpcNodeId nodeId)


Parameters

times DateTime[]


nodeId OpcNodeId



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryAtTime(DateTime[], OpcReadNodeHistory)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryAtTime(DateTime[] times, OpcReadNodeHistory command)


Parameters

times DateTime[]


command OpcReadNodeHistory



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryAtTime(DateTime[], String)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryAtTime(DateTime[] times, string nodeId)


Parameters

times DateTime[]


nodeId String



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryAtTime(DateTime[], String, Int32)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryAtTime(DateTime[] times, string nodeId, int namespaceIndex)


Parameters

times DateTime[]


nodeId String


namespaceIndex Int32



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryAtTime(IEnumerable<DateTime>, Int32)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryAtTime(IEnumerable<DateTime> times, int nodeId)


Parameters

times IEnumerable<DateTime>


nodeId Int32



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryAtTime(IEnumerable<DateTime>, Int32, Int32)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryAtTime(IEnumerable<DateTime> times, int nodeId, int namespaceIndex)


Parameters

times IEnumerable<DateTime>


nodeId Int32


namespaceIndex Int32



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryAtTime(IEnumerable<DateTime>, OpcNodeId)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryAtTime(IEnumerable<DateTime> times, OpcNodeId nodeId)


Parameters

times IEnumerable<DateTime>


nodeId OpcNodeId



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryAtTime(IEnumerable<DateTime>, OpcReadNodeHistory)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryAtTime(IEnumerable<DateTime> times, OpcReadNodeHistory command)


Parameters

times IEnumerable<DateTime>


command OpcReadNodeHistory



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryAtTime(IEnumerable<DateTime>, String)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryAtTime(IEnumerable<DateTime> times, string nodeId)


Parameters

times IEnumerable<DateTime>


nodeId String



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryAtTime(IEnumerable<DateTime>, String, Int32)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryAtTime(IEnumerable<DateTime> times, string nodeId, int namespaceIndex)


Parameters

times IEnumerable<DateTime>


nodeId String


namespaceIndex Int32



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Int32, Int32)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(int numberOfValues, int nodeId)


Parameters

numberOfValues Int32


nodeId Int32



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Int32, Int32, Int32)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(int numberOfValues, int nodeId, int namespaceIndex)


Parameters

numberOfValues Int32


nodeId Int32


namespaceIndex Int32



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Int32, OpcNodeId)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(int numberOfValues, OpcNodeId nodeId)


Parameters

numberOfValues Int32


nodeId OpcNodeId



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Int32, OpcReadNodeHistory)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(int numberOfValues, OpcReadNodeHistory command)


Parameters

numberOfValues Int32


command OpcReadNodeHistory



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Int32, String)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(int numberOfValues, string nodeId)


Parameters

numberOfValues Int32


nodeId String



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Int32, String, Int32)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(int numberOfValues, string nodeId, int namespaceIndex)


Parameters

numberOfValues Int32


nodeId String


namespaceIndex Int32



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Nullable<DateTime>, Int32, Int32)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, int numberOfValues, int nodeId)


Parameters

startTime Nullable<DateTime>


numberOfValues Int32


nodeId Int32



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Nullable<DateTime>, Int32, Int32, Int32)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, int numberOfValues, int nodeId, int namespaceIndex)


Parameters

startTime Nullable<DateTime>


numberOfValues Int32


nodeId Int32


namespaceIndex Int32



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Nullable<DateTime>, Int32, OpcNodeId)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, int numberOfValues, OpcNodeId nodeId)


Parameters

startTime Nullable<DateTime>


numberOfValues Int32


nodeId OpcNodeId



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Nullable<DateTime>, Int32, OpcReadNodeHistory)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, int numberOfValues, OpcReadNodeHistory command)


Parameters

startTime Nullable<DateTime>


numberOfValues Int32


command OpcReadNodeHistory



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Nullable<DateTime>, Int32, String)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, int numberOfValues, string nodeId)


Parameters

startTime Nullable<DateTime>


numberOfValues Int32


nodeId String



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Nullable<DateTime>, Int32, String, Int32)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, int numberOfValues, string nodeId, int namespaceIndex)


Parameters

startTime Nullable<DateTime>


numberOfValues Int32


nodeId String


namespaceIndex Int32



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Nullable<DateTime>, Nullable<DateTime>, Int32)

C#

public IEnumerable<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, DateTime? endTime, int nodeId)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


nodeId Int32



Returns

IEnumerable<OpcModifiedHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Nullable<DateTime>, Nullable<DateTime>, Int32, Int32)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, DateTime? endTime, int numberOfValues, int nodeId)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


numberOfValues Int32


nodeId Int32



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Nullable<DateTime>, Nullable<DateTime>, Int32, Int32, Int32)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, DateTime? endTime, int numberOfValues, int nodeId, int namespaceIndex)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


numberOfValues Int32


nodeId Int32


namespaceIndex Int32



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Nullable<DateTime>, Nullable<DateTime>, Int32, OpcNodeId)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, DateTime? endTime, int numberOfValues, OpcNodeId nodeId)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


numberOfValues Int32


nodeId OpcNodeId



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Nullable<DateTime>, Nullable<DateTime>, Int32, OpcReadNodeHistory)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, DateTime? endTime, int numberOfValues, OpcReadNodeHistory command)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


numberOfValues Int32


command OpcReadNodeHistory



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Nullable<DateTime>, Nullable<DateTime>, Int32, String)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, DateTime? endTime, int numberOfValues, string nodeId)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


numberOfValues Int32


nodeId String



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Nullable<DateTime>, Nullable<DateTime>, Int32, String, Int32)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, DateTime? endTime, int numberOfValues, string nodeId, int namespaceIndex)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


numberOfValues Int32


nodeId String


namespaceIndex Int32



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Nullable<DateTime>, Nullable<DateTime>, OpcNodeId)

C#

public IEnumerable<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, DateTime? endTime, OpcNodeId nodeId)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


nodeId OpcNodeId



Returns

IEnumerable<OpcModifiedHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Nullable<DateTime>, Nullable<DateTime>, OpcReadNodeHistory)

C#

public IEnumerable<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, DateTime? endTime, OpcReadNodeHistory command)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


command OpcReadNodeHistory



Returns

IEnumerable<OpcModifiedHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Nullable<DateTime>, Nullable<DateTime>, String)

C#

public IEnumerable<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, DateTime? endTime, string nodeId)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


nodeId String



Returns

IEnumerable<OpcModifiedHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryModified(Nullable<DateTime>, Nullable<DateTime>, String, Int32)

C#

public IEnumerable<OpcModifiedHistoryValue> ReadNodeHistoryModified(DateTime? startTime, DateTime? endTime, string nodeId, int namespaceIndex)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


nodeId String


namespaceIndex Int32



Returns

IEnumerable<OpcModifiedHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcAggregateType, Double, Int32)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, double aggregateInterval, int nodeId)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcAggregateType


aggregateInterval Double


nodeId Int32



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcAggregateType, Double, Int32, Int32)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, double aggregateInterval, int nodeId, int namespaceIndex)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcAggregateType


aggregateInterval Double


nodeId Int32


namespaceIndex Int32



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcAggregateType, Double, OpcNodeId)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, double aggregateInterval, OpcNodeId nodeId)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcAggregateType


aggregateInterval Double


nodeId OpcNodeId



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcAggregateType, Double, OpcReadNodeHistory)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, double aggregateInterval, OpcReadNodeHistory command)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcAggregateType


aggregateInterval Double


command OpcReadNodeHistory



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcAggregateType, Double, String)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, double aggregateInterval, string nodeId)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcAggregateType


aggregateInterval Double


nodeId String



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcAggregateType, Double, String, Int32)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, double aggregateInterval, string nodeId, int namespaceIndex)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcAggregateType


aggregateInterval Double


nodeId String


namespaceIndex Int32



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcAggregateType, Int32)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, int nodeId)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcAggregateType


nodeId Int32



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcAggregateType, Int32, Int32)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, int nodeId, int namespaceIndex)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcAggregateType


nodeId Int32


namespaceIndex Int32



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcAggregateType, OpcNodeId)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, OpcNodeId nodeId)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcAggregateType


nodeId OpcNodeId



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcAggregateType, OpcReadNodeHistory)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, OpcReadNodeHistory command)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcAggregateType


command OpcReadNodeHistory



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcAggregateType, String)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, string nodeId)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcAggregateType


nodeId String



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcAggregateType, String, Int32)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, string nodeId, int namespaceIndex)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcAggregateType


nodeId String


namespaceIndex Int32



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcNodeId, Double, Int32)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, double aggregateInterval, int nodeId)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcNodeId


aggregateInterval Double


nodeId Int32



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcNodeId, Double, Int32, Int32)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, double aggregateInterval, int nodeId, int namespaceIndex)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcNodeId


aggregateInterval Double


nodeId Int32


namespaceIndex Int32



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcNodeId, Double, OpcNodeId)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, double aggregateInterval, OpcNodeId nodeId)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcNodeId


aggregateInterval Double


nodeId OpcNodeId



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcNodeId, Double, OpcReadNodeHistory)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, double aggregateInterval, OpcReadNodeHistory command)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcNodeId


aggregateInterval Double


command OpcReadNodeHistory



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcNodeId, Double, String)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, double aggregateInterval, string nodeId)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcNodeId


aggregateInterval Double


nodeId String



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcNodeId, Double, String, Int32)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, double aggregateInterval, string nodeId, int namespaceIndex)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcNodeId


aggregateInterval Double


nodeId String


namespaceIndex Int32



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcNodeId, Int32)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, int nodeId)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcNodeId


nodeId Int32



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcNodeId, Int32, Int32)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, int nodeId, int namespaceIndex)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcNodeId


nodeId Int32


namespaceIndex Int32



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcNodeId, OpcNodeId)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, OpcNodeId nodeId)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcNodeId


nodeId OpcNodeId



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcNodeId, OpcReadNodeHistory)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, OpcReadNodeHistory command)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcNodeId


command OpcReadNodeHistory



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcNodeId, String)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, string nodeId)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcNodeId


nodeId String



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeHistoryProcessed(DateTime, DateTime, OpcNodeId, String, Int32)

C#

public IEnumerable<OpcHistoryValue> ReadNodeHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, string nodeId, int namespaceIndex)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcNodeId


nodeId String


namespaceIndex Int32



Returns

IEnumerable<OpcHistoryValue>



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodes(IEnumerable<OpcNodeId>)

Reads the Value attribute of the nodes specified by nodeIds.

C#

public IEnumerable<OpcValue> ReadNodes(IEnumerable<OpcNodeId> nodeIds)


Parameters

nodeIds IEnumerable<OpcNodeId>

A sequence of OpcNodeId instances of the nodes to read.


Returns

IEnumerable<OpcValue>

A sequence of OpcValue instances its number and order of items matches the number and order of items in the nodeIds sequence. There is for each node identifier one entry which stores the value requested.



Exceptions

ArgumentNullException

The nodeIds sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The read service is currently not supported, especially using the nodeIds specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.


Remarks

Known results for the operation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadDataEncodingInvalid For more details see BadDataEncodingInvalid.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNotReadable For more details see BadNotReadable.
BadUserAccessDenied For more details see BadUserAccessDenied.

ReadNodes(IEnumerable<OpcReadNode>)

Reads one or more values of one or more attributes of one or more nodes using the specified commands.

C#

public IEnumerable<OpcValue> ReadNodes(IEnumerable<OpcReadNode> commands)


Parameters

commands IEnumerable<OpcReadNode>

A sequence of OpcReadNode instances to process.


Returns

IEnumerable<OpcValue>

A sequence of OpcValue instances its number and order of items matches the number and order of items in the commands sequence. There is for each command one entry which stores the value requested by that command.



Exceptions

ArgumentNullException

The commands sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The read service is currently not supported, especially using the commands specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.


Remarks

Known results for the commands specified are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadDataEncodingInvalid For more details see BadDataEncodingInvalid.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNotReadable For more details see BadNotReadable.
BadUserAccessDenied For more details see BadUserAccessDenied.

ReadNodes(OpcAttribute, IEnumerable<OpcNodeId>)

Reads the attribute of the nodes specified by nodeIds.

C#

public IEnumerable<OpcValue> ReadNodes(OpcAttribute attribute, IEnumerable<OpcNodeId> nodeIds)


Parameters

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.

nodeIds IEnumerable<OpcNodeId>

A sequence of OpcNodeId instances of the nodes to read.


Returns

IEnumerable<OpcValue>

A sequence of OpcValue instances its number and order of items matches the number and order of items in the nodeIds sequence. There is for each node identifier one entry which stores the value requested.



Exceptions

ArgumentNullException

The nodeIds sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The read service is currently not supported, especially using the nodeIds specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.


Remarks

Known results for the operation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadDataEncodingInvalid For more details see BadDataEncodingInvalid.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNotReadable For more details see BadNotReadable.
BadUserAccessDenied For more details see BadUserAccessDenied.

ReadNodes(OpcAttribute, OpcNodeId[])

Reads the attribute of the nodes specified by nodeIds.

C#

public IEnumerable<OpcValue> ReadNodes(OpcAttribute attribute, params OpcNodeId[] nodeIds)


Parameters

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.

nodeIds OpcNodeId[]

An array of OpcNodeId instances of the nodes to read.


Returns

IEnumerable<OpcValue>

A sequence of OpcValue instances its number and order of items matches the number and order of items in the nodeIds sequence. There is for each node identifier one entry which stores the value requested.



Exceptions

ArgumentNullException

The nodeIds sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The read service is currently not supported, especially using the nodeIds specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.


Remarks

Known results for the operation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadDataEncodingInvalid For more details see BadDataEncodingInvalid.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNotReadable For more details see BadNotReadable.
BadUserAccessDenied For more details see BadUserAccessDenied.

ReadNodes(OpcNodeId[])

Reads the Value attribute of the nodes specified by nodeIds.

C#

public IEnumerable<OpcValue> ReadNodes(params OpcNodeId[] nodeIds)


Parameters

nodeIds OpcNodeId[]

An array of OpcNodeId instances of the nodes to read.


Returns

IEnumerable<OpcValue>

A sequence of OpcValue instances its number and order of items matches the number and order of items in the nodeIds sequence. There is for each node identifier one entry which stores the value requested.



Exceptions

ArgumentNullException

The nodeIds sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The read service is currently not supported, especially using the nodeIds specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.


Remarks

Known results for the operation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadDataEncodingInvalid For more details see BadDataEncodingInvalid.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNotReadable For more details see BadNotReadable.
BadUserAccessDenied For more details see BadUserAccessDenied.

ReadNodes(OpcReadNode[])

Reads one or more values of one or more attributes of one or more nodes using the specified commands.

C#

public IEnumerable<OpcValue> ReadNodes(params OpcReadNode[] commands)


Parameters

commands OpcReadNode[]

An array of OpcReadNode instances to process.


Returns

IEnumerable<OpcValue>

A sequence of OpcValue instances its number and order of items matches the number and order of items in the commands sequence. There is for each command one entry which stores the value requested by that command.



Exceptions

ArgumentNullException

The commands array or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The read service is currently not supported, especially using the commands specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.


Remarks

Known results for the commands specified are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadDataEncodingInvalid For more details see BadDataEncodingInvalid.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNotReadable For more details see BadNotReadable.
BadUserAccessDenied For more details see BadUserAccessDenied.

ReadNodesHistory(Int32, IEnumerable<OpcNodeId>)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(int numberOfValues, IEnumerable<OpcNodeId> nodeIds)


Parameters

numberOfValues Int32


nodeIds IEnumerable<OpcNodeId>



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistory(Int32, IEnumerable<OpcReadNodeHistory>)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(int numberOfValues, IEnumerable<OpcReadNodeHistory> commands)


Parameters

numberOfValues Int32


commands IEnumerable<OpcReadNodeHistory>



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistory(Int32, OpcNodeId[])

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(int numberOfValues, params OpcNodeId[] nodeIds)


Parameters

numberOfValues Int32


nodeIds OpcNodeId[]



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistory(Int32, OpcReadNodeHistory[])

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(int numberOfValues, params OpcReadNodeHistory[] commands)


Parameters

numberOfValues Int32


commands OpcReadNodeHistory[]



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistory(Nullable<DateTime>, Int32, IEnumerable<OpcNodeId>)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(DateTime? startTime, int numberOfValues, IEnumerable<OpcNodeId> nodeIds)


Parameters

startTime Nullable<DateTime>


numberOfValues Int32


nodeIds IEnumerable<OpcNodeId>



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistory(Nullable<DateTime>, Int32, IEnumerable<OpcReadNodeHistory>)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(DateTime? startTime, int numberOfValues, IEnumerable<OpcReadNodeHistory> commands)


Parameters

startTime Nullable<DateTime>


numberOfValues Int32


commands IEnumerable<OpcReadNodeHistory>



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistory(Nullable<DateTime>, Int32, OpcNodeId[])

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(DateTime? startTime, int numberOfValues, params OpcNodeId[] nodeIds)


Parameters

startTime Nullable<DateTime>


numberOfValues Int32


nodeIds OpcNodeId[]



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistory(Nullable<DateTime>, Int32, OpcReadNodeHistory[])

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(DateTime? startTime, int numberOfValues, params OpcReadNodeHistory[] commands)


Parameters

startTime Nullable<DateTime>


numberOfValues Int32


commands OpcReadNodeHistory[]



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistory(Nullable<DateTime>, Nullable<DateTime>, IEnumerable<OpcNodeId>)

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistory(DateTime? startTime, DateTime? endTime, IEnumerable<OpcNodeId> nodeIds)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


nodeIds IEnumerable<OpcNodeId>



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistory(Nullable<DateTime>, Nullable<DateTime>, IEnumerable<OpcReadNodeHistory>)

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistory(DateTime? startTime, DateTime? endTime, IEnumerable<OpcReadNodeHistory> commands)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


commands IEnumerable<OpcReadNodeHistory>



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistory(Nullable<DateTime>, Nullable<DateTime>, Int32, IEnumerable<OpcNodeId>)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(DateTime? startTime, DateTime? endTime, int numberOfValues, IEnumerable<OpcNodeId> nodeIds)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


numberOfValues Int32


nodeIds IEnumerable<OpcNodeId>



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistory(Nullable<DateTime>, Nullable<DateTime>, Int32, IEnumerable<OpcReadNodeHistory>)

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(DateTime? startTime, DateTime? endTime, int numberOfValues, IEnumerable<OpcReadNodeHistory> commands)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


numberOfValues Int32


commands IEnumerable<OpcReadNodeHistory>



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistory(Nullable<DateTime>, Nullable<DateTime>, Int32, OpcNodeId[])

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(DateTime? startTime, DateTime? endTime, int numberOfValues, params OpcNodeId[] nodeIds)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


numberOfValues Int32


nodeIds OpcNodeId[]



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistory(Nullable<DateTime>, Nullable<DateTime>, Int32, OpcReadNodeHistory[])

C#

public IOpcNodeHistoryNavigator<OpcHistoryValue> ReadNodesHistory(DateTime? startTime, DateTime? endTime, int numberOfValues, params OpcReadNodeHistory[] commands)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


numberOfValues Int32


commands OpcReadNodeHistory[]



Returns

IOpcNodeHistoryNavigator<OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistory(Nullable<DateTime>, Nullable<DateTime>, OpcNodeId[])

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistory(DateTime? startTime, DateTime? endTime, params OpcNodeId[] nodeIds)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


nodeIds OpcNodeId[]



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistory(Nullable<DateTime>, Nullable<DateTime>, OpcReadNodeHistory[])

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistory(DateTime? startTime, DateTime? endTime, params OpcReadNodeHistory[] commands)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


commands OpcReadNodeHistory[]



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryAtTime(DateTime, IEnumerable<OpcNodeId>)

C#

public IDictionary<OpcNodeId, OpcHistoryValue> ReadNodesHistoryAtTime(DateTime time, IEnumerable<OpcNodeId> nodeIds)


Parameters

time DateTime


nodeIds IEnumerable<OpcNodeId>



Returns

IDictionary<OpcNodeId, OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryAtTime(DateTime, IEnumerable<OpcReadNodeHistory>)

C#

public IDictionary<OpcNodeId, OpcHistoryValue> ReadNodesHistoryAtTime(DateTime time, IEnumerable<OpcReadNodeHistory> commands)


Parameters

time DateTime


commands IEnumerable<OpcReadNodeHistory>



Returns

IDictionary<OpcNodeId, OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryAtTime(DateTime, OpcNodeId[])

C#

public IDictionary<OpcNodeId, OpcHistoryValue> ReadNodesHistoryAtTime(DateTime time, params OpcNodeId[] nodeIds)


Parameters

time DateTime


nodeIds OpcNodeId[]



Returns

IDictionary<OpcNodeId, OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryAtTime(DateTime, OpcReadNodeHistory[])

C#

public IDictionary<OpcNodeId, OpcHistoryValue> ReadNodesHistoryAtTime(DateTime time, params OpcReadNodeHistory[] commands)


Parameters

time DateTime


commands OpcReadNodeHistory[]



Returns

IDictionary<OpcNodeId, OpcHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryAtTime(DateTime[], IEnumerable<OpcNodeId>)

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryAtTime(DateTime[] times, IEnumerable<OpcNodeId> nodeIds)


Parameters

times DateTime[]


nodeIds IEnumerable<OpcNodeId>



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryAtTime(DateTime[], IEnumerable<OpcReadNodeHistory>)

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryAtTime(DateTime[] times, IEnumerable<OpcReadNodeHistory> commands)


Parameters

times DateTime[]


commands IEnumerable<OpcReadNodeHistory>



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryAtTime(DateTime[], OpcNodeId[])

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryAtTime(DateTime[] times, params OpcNodeId[] nodeIds)


Parameters

times DateTime[]


nodeIds OpcNodeId[]



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryAtTime(DateTime[], OpcReadNodeHistory[])

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryAtTime(DateTime[] times, params OpcReadNodeHistory[] commands)


Parameters

times DateTime[]


commands OpcReadNodeHistory[]



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryAtTime(IEnumerable<DateTime>, IEnumerable<OpcNodeId>)

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryAtTime(IEnumerable<DateTime> times, IEnumerable<OpcNodeId> nodeIds)


Parameters

times IEnumerable<DateTime>


nodeIds IEnumerable<OpcNodeId>



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryAtTime(IEnumerable<DateTime>, IEnumerable<OpcReadNodeHistory>)

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryAtTime(IEnumerable<DateTime> times, IEnumerable<OpcReadNodeHistory> commands)


Parameters

times IEnumerable<DateTime>


commands IEnumerable<OpcReadNodeHistory>



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryAtTime(IEnumerable<DateTime>, OpcNodeId[])

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryAtTime(IEnumerable<DateTime> times, params OpcNodeId[] nodeIds)


Parameters

times IEnumerable<DateTime>


nodeIds OpcNodeId[]



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryAtTime(IEnumerable<DateTime>, OpcReadNodeHistory[])

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryAtTime(IEnumerable<DateTime> times, params OpcReadNodeHistory[] commands)


Parameters

times IEnumerable<DateTime>


commands OpcReadNodeHistory[]



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryModified(Int32, IEnumerable<OpcNodeId>)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(int numberOfValues, IEnumerable<OpcNodeId> nodeIds)


Parameters

numberOfValues Int32


nodeIds IEnumerable<OpcNodeId>



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryModified(Int32, IEnumerable<OpcReadNodeHistory>)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(int numberOfValues, IEnumerable<OpcReadNodeHistory> commands)


Parameters

numberOfValues Int32


commands IEnumerable<OpcReadNodeHistory>



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryModified(Int32, OpcNodeId[])

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(int numberOfValues, params OpcNodeId[] nodeIds)


Parameters

numberOfValues Int32


nodeIds OpcNodeId[]



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryModified(Int32, OpcReadNodeHistory[])

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(int numberOfValues, params OpcReadNodeHistory[] commands)


Parameters

numberOfValues Int32


commands OpcReadNodeHistory[]



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryModified(Nullable<DateTime>, Int32, IEnumerable<OpcNodeId>)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(DateTime? startTime, int numberOfValues, IEnumerable<OpcNodeId> nodeIds)


Parameters

startTime Nullable<DateTime>


numberOfValues Int32


nodeIds IEnumerable<OpcNodeId>



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryModified(Nullable<DateTime>, Int32, IEnumerable<OpcReadNodeHistory>)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(DateTime? startTime, int numberOfValues, IEnumerable<OpcReadNodeHistory> commands)


Parameters

startTime Nullable<DateTime>


numberOfValues Int32


commands IEnumerable<OpcReadNodeHistory>



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryModified(Nullable<DateTime>, Int32, OpcNodeId[])

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(DateTime? startTime, int numberOfValues, params OpcNodeId[] nodeIds)


Parameters

startTime Nullable<DateTime>


numberOfValues Int32


nodeIds OpcNodeId[]



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryModified(Nullable<DateTime>, Int32, OpcReadNodeHistory[])

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(DateTime? startTime, int numberOfValues, params OpcReadNodeHistory[] commands)


Parameters

startTime Nullable<DateTime>


numberOfValues Int32


commands OpcReadNodeHistory[]



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryModified(Nullable<DateTime>, Nullable<DateTime>, IEnumerable<OpcNodeId>)

C#

public IDictionary<OpcNodeId, IEnumerable<OpcModifiedHistoryValue>> ReadNodesHistoryModified(DateTime? startTime, DateTime? endTime, IEnumerable<OpcNodeId> nodeIds)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


nodeIds IEnumerable<OpcNodeId>



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryModified(Nullable<DateTime>, Nullable<DateTime>, IEnumerable<OpcReadNodeHistory>)

C#

public IDictionary<OpcNodeId, IEnumerable<OpcModifiedHistoryValue>> ReadNodesHistoryModified(DateTime? startTime, DateTime? endTime, IEnumerable<OpcReadNodeHistory> commands)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


commands IEnumerable<OpcReadNodeHistory>



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryModified(Nullable<DateTime>, Nullable<DateTime>, Int32, IEnumerable<OpcNodeId>)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(DateTime? startTime, DateTime? endTime, int numberOfValues, IEnumerable<OpcNodeId> nodeIds)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


numberOfValues Int32


nodeIds IEnumerable<OpcNodeId>



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryModified(Nullable<DateTime>, Nullable<DateTime>, Int32, IEnumerable<OpcReadNodeHistory>)

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(DateTime? startTime, DateTime? endTime, int numberOfValues, IEnumerable<OpcReadNodeHistory> commands)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


numberOfValues Int32


commands IEnumerable<OpcReadNodeHistory>



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryModified(Nullable<DateTime>, Nullable<DateTime>, Int32, OpcNodeId[])

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(DateTime? startTime, DateTime? endTime, int numberOfValues, params OpcNodeId[] nodeIds)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


numberOfValues Int32


nodeIds OpcNodeId[]



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryModified(Nullable<DateTime>, Nullable<DateTime>, Int32, OpcReadNodeHistory[])

C#

public IOpcNodeHistoryNavigator<OpcModifiedHistoryValue> ReadNodesHistoryModified(DateTime? startTime, DateTime? endTime, int numberOfValues, params OpcReadNodeHistory[] commands)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


numberOfValues Int32


commands OpcReadNodeHistory[]



Returns

IOpcNodeHistoryNavigator<OpcModifiedHistoryValue>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryModified(Nullable<DateTime>, Nullable<DateTime>, OpcNodeId[])

C#

public IDictionary<OpcNodeId, IEnumerable<OpcModifiedHistoryValue>> ReadNodesHistoryModified(DateTime? startTime, DateTime? endTime, params OpcNodeId[] nodeIds)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


nodeIds OpcNodeId[]



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryModified(Nullable<DateTime>, Nullable<DateTime>, OpcReadNodeHistory[])

C#

public IDictionary<OpcNodeId, IEnumerable<OpcModifiedHistoryValue>> ReadNodesHistoryModified(DateTime? startTime, DateTime? endTime, params OpcReadNodeHistory[] commands)


Parameters

startTime Nullable<DateTime>


endTime Nullable<DateTime>


commands OpcReadNodeHistory[]



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryProcessed(DateTime, DateTime, OpcAggregateType, Double, IEnumerable<OpcNodeId>)

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, double aggregateInterval, IEnumerable<OpcNodeId> nodeIds)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcAggregateType


aggregateInterval Double


nodeIds IEnumerable<OpcNodeId>



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryProcessed(DateTime, DateTime, OpcAggregateType, Double, IEnumerable<OpcReadNodeHistory>)

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, double aggregateInterval, IEnumerable<OpcReadNodeHistory> commands)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcAggregateType


aggregateInterval Double


commands IEnumerable<OpcReadNodeHistory>



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryProcessed(DateTime, DateTime, OpcAggregateType, Double, OpcNodeId[])

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, double aggregateInterval, params OpcNodeId[] nodeIds)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcAggregateType


aggregateInterval Double


nodeIds OpcNodeId[]



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryProcessed(DateTime, DateTime, OpcAggregateType, Double, OpcReadNodeHistory[])

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, double aggregateInterval, params OpcReadNodeHistory[] commands)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcAggregateType


aggregateInterval Double


commands OpcReadNodeHistory[]



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryProcessed(DateTime, DateTime, OpcAggregateType, IEnumerable<OpcNodeId>)

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, IEnumerable<OpcNodeId> nodeIds)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcAggregateType


nodeIds IEnumerable<OpcNodeId>



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryProcessed(DateTime, DateTime, OpcAggregateType, IEnumerable<OpcReadNodeHistory>)

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, IEnumerable<OpcReadNodeHistory> commands)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcAggregateType


commands IEnumerable<OpcReadNodeHistory>



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryProcessed(DateTime, DateTime, OpcAggregateType, OpcNodeId[])

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, params OpcNodeId[] nodeIds)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcAggregateType


nodeIds OpcNodeId[]



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryProcessed(DateTime, DateTime, OpcAggregateType, OpcReadNodeHistory[])

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcAggregateType aggregateType, params OpcReadNodeHistory[] commands)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcAggregateType


commands OpcReadNodeHistory[]



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryProcessed(DateTime, DateTime, OpcNodeId, Double, IEnumerable<OpcNodeId>)

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, double aggregateInterval, IEnumerable<OpcNodeId> nodeIds)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcNodeId


aggregateInterval Double


nodeIds IEnumerable<OpcNodeId>



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryProcessed(DateTime, DateTime, OpcNodeId, Double, IEnumerable<OpcReadNodeHistory>)

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, double aggregateInterval, IEnumerable<OpcReadNodeHistory> commands)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcNodeId


aggregateInterval Double


commands IEnumerable<OpcReadNodeHistory>



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryProcessed(DateTime, DateTime, OpcNodeId, Double, OpcNodeId[])

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, double aggregateInterval, params OpcNodeId[] nodeIds)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcNodeId


aggregateInterval Double


nodeIds OpcNodeId[]



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryProcessed(DateTime, DateTime, OpcNodeId, Double, OpcReadNodeHistory[])

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, double aggregateInterval, params OpcReadNodeHistory[] commands)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcNodeId


aggregateInterval Double


commands OpcReadNodeHistory[]



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryProcessed(DateTime, DateTime, OpcNodeId, IEnumerable<OpcNodeId>)

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, IEnumerable<OpcNodeId> nodeIds)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcNodeId


nodeIds IEnumerable<OpcNodeId>



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryProcessed(DateTime, DateTime, OpcNodeId, IEnumerable<OpcReadNodeHistory>)

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, IEnumerable<OpcReadNodeHistory> commands)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcNodeId


commands IEnumerable<OpcReadNodeHistory>



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryProcessed(DateTime, DateTime, OpcNodeId, OpcNodeId[])

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, params OpcNodeId[] nodeIds)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcNodeId


nodeIds OpcNodeId[]



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodesHistoryProcessed(DateTime, DateTime, OpcNodeId, OpcReadNodeHistory[])

C#

public IDictionary<OpcNodeId, IEnumerable<OpcHistoryValue>> ReadNodesHistoryProcessed(DateTime startTime, DateTime endTime, OpcNodeId aggregateType, params OpcReadNodeHistory[] commands)


Parameters

startTime DateTime


endTime DateTime


aggregateType OpcNodeId


commands OpcReadNodeHistory[]



Returns

IDictionary<OpcNodeId, IEnumerable>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReadNodeValue(IOpcNodeValue)

Reads the Value attribute of the node specified.

C#

public OpcValue ReadNodeValue(IOpcNodeValue node)


Parameters

node IOpcNodeValue

The IOpcNodeValue instance which represents the node its Value is to be read.


Returns

OpcValue

An instance of the OpcValue class which stores the value of the Value of the node described by the node specified.



Exceptions

ArgumentNullException

The node is a null reference (Nothing in Visual Basic).

InvalidOperationException

The read service is currently not supported, especially using the node specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.


Remarks

Known results for the operation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadDataEncodingInvalid For more details see BadDataEncodingInvalid.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNotReadable For more details see BadNotReadable.
BadUserAccessDenied For more details see BadUserAccessDenied.

ReadNodeValues(IEnumerable<IOpcNodeValue>)

Reads the Value attributes of the nodes specified.

C#

public IEnumerable<OpcValue> ReadNodeValues(IEnumerable<IOpcNodeValue> nodes)


Parameters

nodes IEnumerable<IOpcNodeValue>

A sequence of IOpcNodeValue instances which representing the nodes its Value is to be read.


Returns

IEnumerable<OpcValue>

A sequence of OpcValue instances its number and order of items matches the number and order of items in the nodes sequence. There is for each entry in nodes one entry which stores the Value of the node described by the entry in nodes specified.



Exceptions

ArgumentNullException

The nodes sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The read service is currently not supported, especially using the nodes specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.


Remarks

Known results for the operation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadDataEncodingInvalid For more details see BadDataEncodingInvalid.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNotReadable For more details see BadNotReadable.
BadUserAccessDenied For more details see BadUserAccessDenied.

ReadNodeValues(IOpcNodeValue[])

Reads the Value attributes of the nodes specified.

C#

public IEnumerable<OpcValue> ReadNodeValues(params IOpcNodeValue[] nodes)


Parameters

nodes IOpcNodeValue[]

An array of IOpcNodeValue instances which representing the nodes its Value is to be read.


Returns

IEnumerable<OpcValue>



Exceptions

ArgumentNullException

The nodes array or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The read service is currently not supported, especially using the nodes specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadMaxAgeInvalid and BadTimestampsToReturnInvalid.


Remarks

Known results for the operation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadDataEncodingInvalid For more details see BadDataEncodingInvalid.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNotReadable For more details see BadNotReadable.
BadUserAccessDenied For more details see BadUserAccessDenied.

RegisterNode(OpcNodeId)

Registers a node for optimized node access using the identifier of the node. A once registered node needs to be unregistered as soon as the optimized node access is not longer required. This assures that the server can release unused resources reserved for the optimized node access.

C#

public OpcNodeId RegisterNode(OpcNodeId nodeId)


Parameters

nodeId OpcNodeId

The OpcNodeId through that the node to register can be identified.


Returns

OpcNodeId

An instance of the OpcNodeId class which is to be used for subsequent optimized node access. Use this identifier to release unused resources associated with the optimized node access using UnregisterNode(OpcNodeId) as soon as the optimized node access is not longer required.



Exceptions

ArgumentException

The nodeId is equals Null.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The register node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.

Servers completely reject register nodes requests if any of the node identifiers passed are structurally invalid.

RegisterNode(OpcRegisterNode)

Registers a node for optimized node access using the command specified.

C#

public OpcNodeId RegisterNode(OpcRegisterNode command)


Parameters

command OpcRegisterNode

The OpcRegisterNode instance to process.


Returns

OpcNodeId

An instance of the OpcNodeId class which is to be used for subsequent optimized node access.



Exceptions

ArgumentNullException

The command is a null reference (Nothing in Visual Basic).

InvalidOperationException

The register node service is currently not supported, especially using the command specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyMatches.


Remarks

Known results for the command specified are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.

Servers completely reject register nodes requests if any of the node identifiers passed are structurally invalid.

RegisterNodes(IEnumerable<OpcNodeId>)

Registers one or more nodes for optimized node access using the identifiers of the nodes its access shall be optimized. One registered nodes have to be unregistered as soon as the optimized node access is not longer required. This assures that the server can release unused resources reserved for the optimized node access.

C#

public OpcNodeIdCollection RegisterNodes(IEnumerable<OpcNodeId> nodeIds)


Parameters

nodeIds IEnumerable<OpcNodeId>

A sequence of OpcNodeId instances through that the nodes to register can be identified.


Returns

OpcNodeIdCollection

A collection of OpcNodeId instances its items are to be used for subsequent optimized node access. Use these identifiers to release unused resources assoicated with the optimized node access using UnregisterNodes(IEnumerable) as soon as the optimized node access is not longer required.



Exceptions

ArgumentException

One of the OpcNodeId instances in nodeIds is equals Null.

ArgumentNullException

The nodeIds is a null reference (Nothing in Visual Basic).

InvalidOperationException

The register node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.

Servers completely reject register nodes requests if any of the node identifiers passed are structurally invalid.

RegisterNodes(IEnumerable<OpcRegisterNode>)

Registers one or more nodes for optimized node access using the specified commands.

C#

public OpcNodeIdCollection RegisterNodes(IEnumerable<OpcRegisterNode> commands)


Parameters

commands IEnumerable<OpcRegisterNode>

A sequence of OpcRegisterNode instances to process.


Returns

OpcNodeIdCollection

A collection of OpcNodeId instances its number and order of items matches the number and order of items in the commands sequence. There is for each command one entry which stores the node identifier requested by that command to use to access the node registered for optimized node access.



Exceptions

ArgumentNullException

The commands sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The register nodes service is currently not supported, especially using the commands specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyMatches.


Remarks

Known results for the commands specified are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.

Servers completely reject register nodes requests if any of the node identifiers passed are structurally invalid.

RegisterNodes(OpcNodeId[])

Registers one or more nodes for optimized node access using the identifiers of the nodes its access shall be optimized. One registered nodes have to be unregistered as soon as the optimized node access is not longer required. This assures that the server can release unused resources reserved for the optimized node access.

C#

public OpcNodeIdCollection RegisterNodes(params OpcNodeId[] nodeIds)


Parameters

nodeIds OpcNodeId[]

An array of OpcNodeId instances through that the nodes to register can be identified.


Returns

OpcNodeIdCollection

A collection of OpcNodeId instances its items are to be used for subsequent optimized node access. Use these identifiers to release unused resources assoicated with the optimized node access using UnregisterNodes(IEnumerable) as soon as the optimized node access is not longer required.



Exceptions

ArgumentException

One of the OpcNodeId instances in nodeIds is equals Null.

ArgumentNullException

The nodeIds is a null reference (Nothing in Visual Basic).

InvalidOperationException

The register node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the service invocation are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.

Servers completely reject register nodes requests if any of the node identifiers passed are structurally invalid.

RegisterNodes(OpcRegisterNode[])

Registers one or more nodes for optimized node access using the specified commands.

C#

public OpcNodeIdCollection RegisterNodes(params OpcRegisterNode[] commands)


Parameters

commands OpcRegisterNode[]

A sequence of OpcRegisterNode instances to process.


Returns

OpcNodeIdCollection

A collection of OpcNodeId instances its number and order of items matches the number and order of items in the commands sequence. There is for each command one entry which stores the node identifier requested by that command to use to access the node registered for optimized node access.



Exceptions

ArgumentNullException

The commands sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The register nodes service is currently not supported, especially using the commands specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyMatches.


Remarks

Known results for the commands specified are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.

Servers completely reject register nodes requests if any of the node identifiers passed are structurally invalid.

ReplaceNodeHistory(Int32, IEnumerable<OpcValue>)

C#

public OpcStatusCollection ReplaceNodeHistory(int nodeId, IEnumerable<OpcValue> values)


Parameters

nodeId Int32


values IEnumerable<OpcValue>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReplaceNodeHistory(Int32, Int32, IEnumerable<OpcValue>)

C#

public OpcStatusCollection ReplaceNodeHistory(int nodeId, int namespaceIndex, IEnumerable<OpcValue> values)


Parameters

nodeId Int32


namespaceIndex Int32


values IEnumerable<OpcValue>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReplaceNodeHistory(Int32, Int32, OpcValue)

C#

public OpcStatus ReplaceNodeHistory(int nodeId, int namespaceIndex, OpcValue value)


Parameters

nodeId Int32


namespaceIndex Int32


value OpcValue



Returns

OpcStatus



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReplaceNodeHistory(Int32, OpcValue)

C#

public OpcStatus ReplaceNodeHistory(int nodeId, OpcValue value)


Parameters

nodeId Int32


value OpcValue



Returns

OpcStatus



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReplaceNodeHistory(Int32, OpcValue[])

C#

public OpcStatusCollection ReplaceNodeHistory(int nodeId, params OpcValue[] values)


Parameters

nodeId Int32


values OpcValue[]



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReplaceNodeHistory(OpcNodeId, IEnumerable<OpcValue>)

C#

public OpcStatusCollection ReplaceNodeHistory(OpcNodeId nodeId, IEnumerable<OpcValue> values)


Parameters

nodeId OpcNodeId


values IEnumerable<OpcValue>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReplaceNodeHistory(OpcNodeId, OpcValue)

C#

public OpcStatus ReplaceNodeHistory(OpcNodeId nodeId, OpcValue value)


Parameters

nodeId OpcNodeId


value OpcValue



Returns

OpcStatus



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReplaceNodeHistory(OpcNodeId, OpcValue[])

C#

public OpcStatusCollection ReplaceNodeHistory(OpcNodeId nodeId, params OpcValue[] values)


Parameters

nodeId OpcNodeId


values OpcValue[]



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReplaceNodeHistory(OpcReplaceNodeHistory)

C#

public OpcStatusCollection ReplaceNodeHistory(OpcReplaceNodeHistory command)


Parameters

command OpcReplaceNodeHistory



Returns

OpcStatusCollection



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReplaceNodeHistory(String, IEnumerable<OpcValue>)

C#

public OpcStatusCollection ReplaceNodeHistory(string nodeId, IEnumerable<OpcValue> values)


Parameters

nodeId String


values IEnumerable<OpcValue>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReplaceNodeHistory(String, Int32, IEnumerable<OpcValue>)

C#

public OpcStatusCollection ReplaceNodeHistory(string nodeId, int namespaceIndex, IEnumerable<OpcValue> values)


Parameters

nodeId String


namespaceIndex Int32


values IEnumerable<OpcValue>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReplaceNodeHistory(String, Int32, OpcValue)

C#

public OpcStatus ReplaceNodeHistory(string nodeId, int namespaceIndex, OpcValue value)


Parameters

nodeId String


namespaceIndex Int32


value OpcValue



Returns

OpcStatus



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReplaceNodeHistory(String, Int32, OpcValue[])

C#

public OpcStatusCollection ReplaceNodeHistory(string nodeId, int namespaceIndex, params OpcValue[] values)


Parameters

nodeId String


namespaceIndex Int32


values OpcValue[]



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReplaceNodeHistory(String, OpcValue)

C#

public OpcStatus ReplaceNodeHistory(string nodeId, OpcValue value)


Parameters

nodeId String


value OpcValue



Returns

OpcStatus



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReplaceNodeHistory(String, OpcValue[])

C#

public OpcStatusCollection ReplaceNodeHistory(string nodeId, params OpcValue[] values)


Parameters

nodeId String


values OpcValue[]



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReplaceNodesHistory(IEnumerable<OpcReplaceNodeHistory>)

C#

public IDictionary<OpcNodeId, OpcStatusCollection> ReplaceNodesHistory(IEnumerable<OpcReplaceNodeHistory> commands)


Parameters

commands IEnumerable<OpcReplaceNodeHistory>



Returns

IDictionary<OpcNodeId, OpcStatusCollection>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


ReplaceNodesHistory(OpcReplaceNodeHistory[])

C#

public IDictionary<OpcNodeId, OpcStatusCollection> ReplaceNodesHistory(params OpcReplaceNodeHistory[] commands)


Parameters

commands OpcReplaceNodeHistory[]



Returns

IDictionary<OpcNodeId, OpcStatusCollection>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


SubscribeDataChange(Byte[], Int32, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeDataChange(byte[] nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcDataChangeFilter

The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Byte[], Int32, OpcAttribute, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.

C#

public OpcSubscription SubscribeDataChange(byte[] nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Byte[], Int32, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeDataChange(byte[] nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

trigger OpcDataChangeTrigger

The conditions used by the server under which a data change is to be reported.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Byte[], Int32, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeDataChange(byte[] nodeId, int namespaceIndex, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

filter OpcDataChangeFilter

The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Byte[], Int32, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.

C#

public OpcSubscription SubscribeDataChange(byte[] nodeId, int namespaceIndex, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Byte[], Int32, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeDataChange(byte[] nodeId, int namespaceIndex, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

trigger OpcDataChangeTrigger

The conditions used by the server under which a data change is to be reported.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Byte[], OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(byte[] nodeId, OpcAttribute attribute, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcDataChangeFilter

The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Byte[], OpcAttribute, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(byte[] nodeId, OpcAttribute attribute, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Byte[], OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(byte[] nodeId, OpcAttribute attribute, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

trigger OpcDataChangeTrigger

The conditions used by the server under which a data change is to be reported.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Byte[], OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(byte[] nodeId, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

filter OpcDataChangeFilter

The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Byte[], OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(byte[] nodeId, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Byte[], OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(byte[] nodeId, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

trigger OpcDataChangeTrigger

The conditions used by the server under which a data change is to be reported.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Guid, Int32, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeDataChange(Guid nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcDataChangeFilter

The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Guid, Int32, OpcAttribute, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.

C#

public OpcSubscription SubscribeDataChange(Guid nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Guid, Int32, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeDataChange(Guid nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

trigger OpcDataChangeTrigger

The conditions used by the server under which a data change is to be reported.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Guid, Int32, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeDataChange(Guid nodeId, int namespaceIndex, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

filter OpcDataChangeFilter

The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Guid, Int32, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.

C#

public OpcSubscription SubscribeDataChange(Guid nodeId, int namespaceIndex, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Guid, Int32, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeDataChange(Guid nodeId, int namespaceIndex, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

trigger OpcDataChangeTrigger

The conditions used by the server under which a data change is to be reported.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Guid, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(Guid nodeId, OpcAttribute attribute, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcDataChangeFilter

The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Guid, OpcAttribute, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(Guid nodeId, OpcAttribute attribute, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Guid, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(Guid nodeId, OpcAttribute attribute, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

trigger OpcDataChangeTrigger

The conditions used by the server under which a data change is to be reported.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Guid, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(Guid nodeId, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

filter OpcDataChangeFilter

The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Guid, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(Guid nodeId, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Guid, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(Guid nodeId, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

trigger OpcDataChangeTrigger

The conditions used by the server under which a data change is to be reported.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Int32, Int32, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeDataChange(int nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcDataChangeFilter

The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Int32, Int32, OpcAttribute, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.

C#

public OpcSubscription SubscribeDataChange(int nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Int32, Int32, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeDataChange(int nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

trigger OpcDataChangeTrigger

The conditions used by the server under which a data change is to be reported.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Int32, Int32, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeDataChange(int nodeId, int namespaceIndex, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

filter OpcDataChangeFilter

The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Int32, Int32, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.

C#

public OpcSubscription SubscribeDataChange(int nodeId, int namespaceIndex, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Int32, Int32, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeDataChange(int nodeId, int namespaceIndex, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

trigger OpcDataChangeTrigger

The conditions used by the server under which a data change is to be reported.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Int32, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(int nodeId, OpcAttribute attribute, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcDataChangeFilter

The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Int32, OpcAttribute, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(int nodeId, OpcAttribute attribute, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Int32, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(int nodeId, OpcAttribute attribute, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

trigger OpcDataChangeTrigger

The conditions used by the server under which a data change is to be reported.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Int32, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(int nodeId, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

filter OpcDataChangeFilter

The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Int32, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(int nodeId, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(Int32, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(int nodeId, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

trigger OpcDataChangeTrigger

The conditions used by the server under which a data change is to be reported.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(OpcNodeId, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(OpcNodeId nodeId, OpcAttribute attribute, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service, who will execute this command, will operate on its attribute.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcDataChangeFilter

The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(OpcNodeId, OpcAttribute, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(OpcNodeId nodeId, OpcAttribute attribute, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service, who will execute this command, will operate on its attribute.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(OpcNodeId, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(OpcNodeId nodeId, OpcAttribute attribute, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service, who will execute this command, will operate on its attribute.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

trigger OpcDataChangeTrigger

The conditions used by the server under which a data change is to be reported.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(OpcNodeId, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(OpcNodeId nodeId, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service, who will execute this command, will operate on its Value attribute.

filter OpcDataChangeFilter

The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(OpcNodeId, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(OpcNodeId nodeId, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service, who will execute this command, will operate on its Value attribute.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(OpcNodeId, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(OpcNodeId nodeId, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service, who will execute this command, will operate on its Value attribute.

trigger OpcDataChangeTrigger

The conditions used by the server under which a data change is to be reported.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(String, Int32, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeDataChange(string nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcDataChangeFilter

The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(String, Int32, OpcAttribute, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.

C#

public OpcSubscription SubscribeDataChange(string nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(String, Int32, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeDataChange(string nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

trigger OpcDataChangeTrigger

The conditions used by the server under which a data change is to be reported.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(String, Int32, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeDataChange(string nodeId, int namespaceIndex, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

filter OpcDataChangeFilter

The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(String, Int32, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.

C#

public OpcSubscription SubscribeDataChange(string nodeId, int namespaceIndex, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(String, Int32, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeDataChange(string nodeId, int namespaceIndex, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

trigger OpcDataChangeTrigger

The conditions used by the server under which a data change is to be reported.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(String, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(string nodeId, OpcAttribute attribute, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcDataChangeFilter

The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(String, OpcAttribute, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(string nodeId, OpcAttribute attribute, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(String, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(string nodeId, OpcAttribute attribute, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

trigger OpcDataChangeTrigger

The conditions used by the server under which a data change is to be reported.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(String, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(string nodeId, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

filter OpcDataChangeFilter

The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(String, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(string nodeId, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(String, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(string nodeId, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

trigger OpcDataChangeTrigger

The conditions used by the server under which a data change is to be reported.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(UInt32, Int32, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeDataChange(uint nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcDataChangeFilter

The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(UInt32, Int32, OpcAttribute, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.

C#

public OpcSubscription SubscribeDataChange(uint nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(UInt32, Int32, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeDataChange(uint nodeId, int namespaceIndex, OpcAttribute attribute, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

trigger OpcDataChangeTrigger

The conditions used by the server under which a data change is to be reported.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(UInt32, Int32, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeDataChange(uint nodeId, int namespaceIndex, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

filter OpcDataChangeFilter

The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(UInt32, Int32, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.

C#

public OpcSubscription SubscribeDataChange(uint nodeId, int namespaceIndex, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(UInt32, Int32, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeDataChange(uint nodeId, int namespaceIndex, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

trigger OpcDataChangeTrigger

The conditions used by the server under which a data change is to be reported.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(UInt32, OpcAttribute, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(uint nodeId, OpcAttribute attribute, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcDataChangeFilter

The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(UInt32, OpcAttribute, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(uint nodeId, OpcAttribute attribute, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(UInt32, OpcAttribute, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(uint nodeId, OpcAttribute attribute, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

trigger OpcDataChangeTrigger

The conditions used by the server under which a data change is to be reported.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(UInt32, OpcDataChangeFilter, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(uint nodeId, OpcDataChangeFilter filter, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

filter OpcDataChangeFilter

The OpcDataChangeFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(UInt32, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(uint nodeId, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeDataChange(UInt32, OpcDataChangeTrigger, OpcDataChangeReceivedEventHandler)

Subscribes data changes on the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeDataChange(uint nodeId, OpcDataChangeTrigger trigger, OpcDataChangeReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

trigger OpcDataChangeTrigger

The conditions used by the server under which a data change is to be reported.

received OpcDataChangeReceivedEventHandler

The OpcDataChangeReceivedEventHandler method to assign as the event handler of the DataChangeReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor data changes performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Byte[], Int32, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeEvent(byte[] nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcEventFilter

The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Byte[], Int32, OpcAttribute, OpcEventReceivedEventHandler)

Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.

C#

public OpcSubscription SubscribeEvent(byte[] nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Byte[], Int32, OpcEventFilter, OpcEventReceivedEventHandler)

Subscribes events on the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeEvent(byte[] nodeId, int namespaceIndex, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

filter OpcEventFilter

The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Byte[], Int32, OpcEventReceivedEventHandler)

Subscribes events on the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeEvent(byte[] nodeId, int namespaceIndex, OpcEventReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Byte[], OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

Subscribes events on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(byte[] nodeId, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcEventFilter

The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Byte[], OpcAttribute, OpcEventReceivedEventHandler)

Subscribes events on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(byte[] nodeId, OpcAttribute attribute, OpcEventReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Byte[], OpcEventFilter, OpcEventReceivedEventHandler)

Subscribes events on the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(byte[] nodeId, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

filter OpcEventFilter

The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Byte[], OpcEventReceivedEventHandler)

Subscribes events on the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(byte[] nodeId, OpcEventReceivedEventHandler received)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Guid, Int32, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeEvent(Guid nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcEventFilter

The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Guid, Int32, OpcAttribute, OpcEventReceivedEventHandler)

Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.

C#

public OpcSubscription SubscribeEvent(Guid nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Guid, Int32, OpcEventFilter, OpcEventReceivedEventHandler)

Subscribes events on the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeEvent(Guid nodeId, int namespaceIndex, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

filter OpcEventFilter

The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Guid, Int32, OpcEventReceivedEventHandler)

Subscribes events on the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeEvent(Guid nodeId, int namespaceIndex, OpcEventReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Guid, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

Subscribes events on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(Guid nodeId, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcEventFilter

The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Guid, OpcAttribute, OpcEventReceivedEventHandler)

Subscribes events on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(Guid nodeId, OpcAttribute attribute, OpcEventReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Guid, OpcEventFilter, OpcEventReceivedEventHandler)

Subscribes events on the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(Guid nodeId, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

filter OpcEventFilter

The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Guid, OpcEventReceivedEventHandler)

Subscribes events on the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(Guid nodeId, OpcEventReceivedEventHandler received)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Int32, Int32, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeEvent(int nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcEventFilter

The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Int32, Int32, OpcAttribute, OpcEventReceivedEventHandler)

Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.

C#

public OpcSubscription SubscribeEvent(int nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Int32, Int32, OpcEventFilter, OpcEventReceivedEventHandler)

Subscribes events on the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeEvent(int nodeId, int namespaceIndex, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

filter OpcEventFilter

The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Int32, Int32, OpcEventReceivedEventHandler)

Subscribes events on the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeEvent(int nodeId, int namespaceIndex, OpcEventReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Int32, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

Subscribes events on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(int nodeId, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcEventFilter

The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Int32, OpcAttribute, OpcEventReceivedEventHandler)

Subscribes events on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(int nodeId, OpcAttribute attribute, OpcEventReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Int32, OpcEventFilter, OpcEventReceivedEventHandler)

Subscribes events on the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(int nodeId, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

filter OpcEventFilter

The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(Int32, OpcEventReceivedEventHandler)

Subscribes events on the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(int nodeId, OpcEventReceivedEventHandler received)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(OpcNodeId, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

Subscribes events on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(OpcNodeId nodeId, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service, who will execute this command, will operate on its attribute.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcEventFilter

The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(OpcNodeId, OpcAttribute, OpcEventReceivedEventHandler)

Subscribes events on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(OpcNodeId nodeId, OpcAttribute attribute, OpcEventReceivedEventHandler received)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service, who will execute this command, will operate on its attribute.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(OpcNodeId, OpcEventFilter, OpcEventReceivedEventHandler)

Subscribes events on the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(OpcNodeId nodeId, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service, who will execute this command.

filter OpcEventFilter

The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(OpcNodeId, OpcEventReceivedEventHandler)

Subscribes events on the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(OpcNodeId nodeId, OpcEventReceivedEventHandler received)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service, who will execute this command.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(String, Int32, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeEvent(string nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcEventFilter

The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(String, Int32, OpcAttribute, OpcEventReceivedEventHandler)

Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.

C#

public OpcSubscription SubscribeEvent(string nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(String, Int32, OpcEventFilter, OpcEventReceivedEventHandler)

Subscribes events on the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeEvent(string nodeId, int namespaceIndex, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

filter OpcEventFilter

The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(String, Int32, OpcEventReceivedEventHandler)

Subscribes events on the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeEvent(string nodeId, int namespaceIndex, OpcEventReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(String, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

Subscribes events on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(string nodeId, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcEventFilter

The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(String, OpcAttribute, OpcEventReceivedEventHandler)

Subscribes events on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(string nodeId, OpcAttribute attribute, OpcEventReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(String, OpcEventFilter, OpcEventReceivedEventHandler)

Subscribes events on the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(string nodeId, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

filter OpcEventFilter

The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(String, OpcEventReceivedEventHandler)

Subscribes events on the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(string nodeId, OpcEventReceivedEventHandler received)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(UInt32, Int32, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeEvent(uint nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcEventFilter

The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(UInt32, Int32, OpcAttribute, OpcEventReceivedEventHandler)

Subscribes events on the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.

C#

public OpcSubscription SubscribeEvent(uint nodeId, int namespaceIndex, OpcAttribute attribute, OpcEventReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(UInt32, Int32, OpcEventFilter, OpcEventReceivedEventHandler)

Subscribes events on the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeEvent(uint nodeId, int namespaceIndex, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

filter OpcEventFilter

The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(UInt32, Int32, OpcEventReceivedEventHandler)

Subscribes events on the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeEvent(uint nodeId, int namespaceIndex, OpcEventReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(UInt32, OpcAttribute, OpcEventFilter, OpcEventReceivedEventHandler)

Subscribes events on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(uint nodeId, OpcAttribute attribute, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcEventFilter

The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(UInt32, OpcAttribute, OpcEventReceivedEventHandler)

Subscribes events on the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(uint nodeId, OpcAttribute attribute, OpcEventReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(UInt32, OpcEventFilter, OpcEventReceivedEventHandler)

Subscribes events on the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(uint nodeId, OpcEventFilter filter, OpcEventReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

filter OpcEventFilter

The OpcEventFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeEvent(UInt32, OpcEventReceivedEventHandler)

Subscribes events on the node specified by nodeId.

C#

public OpcSubscription SubscribeEvent(uint nodeId, OpcEventReceivedEventHandler received)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

received OpcEventReceivedEventHandler

The OpcEventReceivedEventHandler method to assign as the event handler of the EventReceived event or a null reference (Nothing in Visual Basic) if there no event handler is to be assigned first.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item will when monitor events performed on the node identified by the values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Byte[])

Subscribes the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(byte[] nodeId)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Byte[], Int32)

Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.

C#

public OpcSubscription SubscribeNode(byte[] nodeId, int namespaceIndex)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Byte[], Int32, OpcAttribute)

Subscribes the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.

C#

public OpcSubscription SubscribeNode(byte[] nodeId, int namespaceIndex, OpcAttribute attribute)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Byte[], Int32, OpcAttribute, OpcMonitoringFilter)

Subscribes the attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeNode(byte[] nodeId, int namespaceIndex, OpcAttribute attribute, OpcMonitoringFilter filter)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcMonitoringFilter

The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Byte[], Int32, OpcMonitoringFilter)

Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeNode(byte[] nodeId, int namespaceIndex, OpcMonitoringFilter filter)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

filter OpcMonitoringFilter

The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Byte[], OpcAttribute)

Subscribes the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(byte[] nodeId, OpcAttribute attribute)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Byte[], OpcAttribute, OpcMonitoringFilter)

Subscribes the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(byte[] nodeId, OpcAttribute attribute, OpcMonitoringFilter filter)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcMonitoringFilter

The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Byte[], OpcMonitoringFilter)

Subscribes the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(byte[] nodeId, OpcMonitoringFilter filter)


Parameters

nodeId Byte[]

The opaque node identifier of the node to subscribe.

filter OpcMonitoringFilter

The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Guid)

Subscribes the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(Guid nodeId)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Guid, Int32)

Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.

C#

public OpcSubscription SubscribeNode(Guid nodeId, int namespaceIndex)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Guid, Int32, OpcAttribute)

Subscribes the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.

C#

public OpcSubscription SubscribeNode(Guid nodeId, int namespaceIndex, OpcAttribute attribute)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Guid, Int32, OpcAttribute, OpcMonitoringFilter)

Subscribes the attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeNode(Guid nodeId, int namespaceIndex, OpcAttribute attribute, OpcMonitoringFilter filter)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcMonitoringFilter

The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Guid, Int32, OpcMonitoringFilter)

Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeNode(Guid nodeId, int namespaceIndex, OpcMonitoringFilter filter)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

filter OpcMonitoringFilter

The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Guid, OpcAttribute)

Subscribes the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(Guid nodeId, OpcAttribute attribute)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Guid, OpcAttribute, OpcMonitoringFilter)

Subscribes the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(Guid nodeId, OpcAttribute attribute, OpcMonitoringFilter filter)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcMonitoringFilter

The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Guid, OpcMonitoringFilter)

Subscribes the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(Guid nodeId, OpcMonitoringFilter filter)


Parameters

nodeId Guid

The general unique identifier (= GUID) of the node to subscribe.

filter OpcMonitoringFilter

The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Int32)

Subscribes the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(int nodeId)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Int32, Int32)

Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.

C#

public OpcSubscription SubscribeNode(int nodeId, int namespaceIndex)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Int32, Int32, OpcAttribute)

Subscribes the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.

C#

public OpcSubscription SubscribeNode(int nodeId, int namespaceIndex, OpcAttribute attribute)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Int32, Int32, OpcAttribute, OpcMonitoringFilter)

Subscribes the attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeNode(int nodeId, int namespaceIndex, OpcAttribute attribute, OpcMonitoringFilter filter)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcMonitoringFilter

The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Int32, Int32, OpcMonitoringFilter)

Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeNode(int nodeId, int namespaceIndex, OpcMonitoringFilter filter)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

filter OpcMonitoringFilter

The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Int32, OpcAttribute)

Subscribes the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(int nodeId, OpcAttribute attribute)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Int32, OpcAttribute, OpcMonitoringFilter)

Subscribes the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(int nodeId, OpcAttribute attribute, OpcMonitoringFilter filter)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcMonitoringFilter

The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(Int32, OpcMonitoringFilter)

Subscribes the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(int nodeId, OpcMonitoringFilter filter)


Parameters

nodeId Int32

The numeric node identifier of the node to subscribe.

filter OpcMonitoringFilter

The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(OpcNodeId)

Subscribes the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(OpcNodeId nodeId)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service, who will execute this command, will operate on its Value attribute.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(OpcNodeId, OpcAttribute)

Subscribes the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(OpcNodeId nodeId, OpcAttribute attribute)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service, who will execute this command, will operate on its attribute.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(OpcNodeId, OpcAttribute, OpcMonitoringFilter)

Subscribes the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(OpcNodeId nodeId, OpcAttribute attribute, OpcMonitoringFilter filter)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service, who will execute this command, will operate on its attribute.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcMonitoringFilter

The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(OpcNodeId, OpcMonitoringFilter)

Subscribes the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(OpcNodeId nodeId, OpcMonitoringFilter filter)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service, who will execute this command, will operate on its Value attribute.

filter OpcMonitoringFilter

The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(OpcSubscribeNode)

Creates a OpcSubscription using the OpcMonitoredItem setup defined by the command specified.

C#

public OpcSubscription SubscribeNode(OpcSubscribeNode command)


Parameters

command OpcSubscribeNode

A OpcSubscribeNode command which is used to define the OpcMonitoredItem used by the OpcSubscription created.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to the command.



Exceptions

ArgumentNullException

The command is a null reference (Nothing in Visual Basic).

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(String)

Subscribes the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(string nodeId)


Parameters

nodeId String

The textual node identifier of the node to subscribe.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(String, Int32)

Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.

C#

public OpcSubscription SubscribeNode(string nodeId, int namespaceIndex)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(String, Int32, OpcAttribute)

Subscribes the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.

C#

public OpcSubscription SubscribeNode(string nodeId, int namespaceIndex, OpcAttribute attribute)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(String, Int32, OpcAttribute, OpcMonitoringFilter)

Subscribes the attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeNode(string nodeId, int namespaceIndex, OpcAttribute attribute, OpcMonitoringFilter filter)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcMonitoringFilter

The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(String, Int32, OpcMonitoringFilter)

Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeNode(string nodeId, int namespaceIndex, OpcMonitoringFilter filter)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

filter OpcMonitoringFilter

The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(String, OpcAttribute)

Subscribes the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(string nodeId, OpcAttribute attribute)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(String, OpcAttribute, OpcMonitoringFilter)

Subscribes the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(string nodeId, OpcAttribute attribute, OpcMonitoringFilter filter)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcMonitoringFilter

The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(String, OpcMonitoringFilter)

Subscribes the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(string nodeId, OpcMonitoringFilter filter)


Parameters

nodeId String

The textual node identifier of the node to subscribe.

filter OpcMonitoringFilter

The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(UInt32)

Subscribes the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(uint nodeId)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(UInt32, Int32)

Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified to operate on the Value attribute.

C#

public OpcSubscription SubscribeNode(uint nodeId, int namespaceIndex)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(UInt32, Int32, OpcAttribute)

Subscribes the attribute of the node specified by nodeId and namespaceIndex specified to operate on the attribute.

C#

public OpcSubscription SubscribeNode(uint nodeId, int namespaceIndex, OpcAttribute attribute)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(UInt32, Int32, OpcAttribute, OpcMonitoringFilter)

Subscribes the attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeNode(uint nodeId, int namespaceIndex, OpcAttribute attribute, OpcMonitoringFilter filter)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcMonitoringFilter

The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(UInt32, Int32, OpcMonitoringFilter)

Subscribes the Value attribute of the node specified by nodeId and namespaceIndex specified.

C#

public OpcSubscription SubscribeNode(uint nodeId, int namespaceIndex, OpcMonitoringFilter filter)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

filter OpcMonitoringFilter

The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(UInt32, OpcAttribute)

Subscribes the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(uint nodeId, OpcAttribute attribute)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(UInt32, OpcAttribute, OpcMonitoringFilter)

Subscribes the attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(uint nodeId, OpcAttribute attribute, OpcMonitoringFilter filter)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the subscription.

filter OpcMonitoringFilter

The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNode(UInt32, OpcMonitoringFilter)

Subscribes the Value attribute of the node specified by nodeId.

C#

public OpcSubscription SubscribeNode(uint nodeId, OpcMonitoringFilter filter)


Parameters

nodeId UInt32

The numeric node identifier of the node to subscribe.

filter OpcMonitoringFilter

The OpcMonitoringFilter to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item.


Returns

OpcSubscription

A new instance of the OpcSubscription class with a single OpcMonitoredItem setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.



Exceptions

ArgumentException

The nodeId is empty.

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNodes(IEnumerable<OpcSubscribeNode>)

Creates a OpcSubscription using the OpcMonitoredItem setup defined by the commands specified.

C#

public OpcSubscription SubscribeNodes(IEnumerable<OpcSubscribeNode> commands)


Parameters

commands IEnumerable<OpcSubscribeNode>

A sequence of OpcSubscribeNode commands which are used to define the OpcMonitoredItem's used by the OpcSubscription created.


Returns

OpcSubscription

A new instance of the OpcSubscription class with OpcMonitoredItem's setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to the different OpcSubscribeNode commands.



Exceptions

ArgumentNullException

The commands or one of the items in the sequence is a null reference (Nothing in Visual Basic).

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

SubscribeNodes(OpcSubscribeNode[])

Creates a OpcSubscription using the OpcMonitoredItem setup defined by the commands specified.

C#

public OpcSubscription SubscribeNodes(params OpcSubscribeNode[] commands)


Parameters

commands OpcSubscribeNode[]

An array of OpcSubscribeNode commands which are used to define the OpcMonitoredItem's used by the OpcSubscription created.


Returns

OpcSubscription

A new instance of the OpcSubscription class with OpcMonitoredItem's setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to the different OpcSubscribeNode commands.



Exceptions

ArgumentNullException

The commands or one of the items in the array is a null reference (Nothing in Visual Basic).

InvalidOperationException

The subscription service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo, BadTooManyOperations, BadTimestampsToReturnInvalid, BadSubscriptionIdInvalid, BadMonitoringModeInvalid, BadNodeIdInvalid, BadNodeIdUnknown, BadAttributeInvalid, BadIndexRangeInvalid, BadIndexRangeNoData, BadDataEncodingInvalid, BadDataEncodingUnsupported, BadMonitoredItemFilterInvalid, BadMonitoredItemFilterUnsupported, BadFilterNotAllowed, BadTooManySubscriptions and BadTooManyMonitoredItems.

TranslatePath(IEnumerable<OpcName>)

Translates a path starting from the root node using the pathElements specified.

C#

public OpcNodeId TranslatePath(IEnumerable<OpcName> pathElements)


Parameters

pathElements IEnumerable<OpcName>

A sequence of OpcName objects representing the value of the BrowseName attribute of the nodes to visit to translate the last OpcName item in pathElements to the OpcNodeId requested by the service.


Returns

OpcNodeId

The target identifier the pathElements were translated to or a null reference (Nothing in Visual Basic) if the path could not translated.



Exceptions

ArgumentNullException

The pathElements or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the pathElements specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePath(IEnumerable<OpcRelativePathElement>)

Translates a path starting from the root node using the pathElements specified.

C#

public OpcNodeId TranslatePath(IEnumerable<OpcRelativePathElement> pathElements)


Parameters

pathElements IEnumerable<OpcRelativePathElement>

A sequence of OpcRelativePathElement objects representing the translation directives of the nodes to visit to translate the last OpcRelativePathElement item in pathElements to the OpcNodeId requested by the service.


Returns

OpcNodeId

The target identifier the pathElements were translated to or a null reference (Nothing in Visual Basic) if the path could not translated.



Exceptions

ArgumentNullException

The pathElements or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the pathElements specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePath(OpcName[])

Translates a path starting from the root node using the pathElements specified.

C#

public OpcNodeId TranslatePath(params OpcName[] pathElements)


Parameters

pathElements OpcName[]

An array of OpcName objects representing the value of the BrowseName attribute of the nodes to visit to translate the last OpcName item in pathElements to the OpcNodeId requested by the service.


Returns

OpcNodeId

The target identifier the pathElements were translated to or a null reference (Nothing in Visual Basic) if the path could not translated.



Exceptions

ArgumentNullException

The pathElements or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the pathElements specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePath(OpcNodeId, IEnumerable<OpcName>)

Translates a path starting from the node identified by the nodeId specified using the pathElements passed.

C#

public OpcNodeId TranslatePath(OpcNodeId nodeId, IEnumerable<OpcName> pathElements)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service will translate the pathElements.

pathElements IEnumerable<OpcName>

A sequence of OpcName objects representing the value of the BrowseName attribute of the nodes to visit to translate the last OpcName item in pathElements to the OpcNodeId requested by the service.


Returns

OpcNodeId

The target identifier the pathElements were translated to or a null reference (Nothing in Visual Basic) if the path could not translated.



Exceptions

ArgumentNullException

The pathElements or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the pathElements specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePath(OpcNodeId, IEnumerable<OpcRelativePathElement>)

Translates a path starting from the node identified by the nodeId specified using the pathElements passed.

C#

public OpcNodeId TranslatePath(OpcNodeId nodeId, IEnumerable<OpcRelativePathElement> pathElements)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service will translate the pathElements.

pathElements IEnumerable<OpcRelativePathElement>

A sequence of OpcRelativePathElement objects representing the translation directives of the nodes to visit to translate the last OpcRelativePathElement item in pathElements to the OpcNodeId requested by the service.


Returns

OpcNodeId

The target identifier the pathElements were translated to or a null reference (Nothing in Visual Basic) if the path could not translated.



Exceptions

ArgumentNullException

The pathElements or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the pathElements specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePath(OpcNodeId, OpcName[])

Translates a path starting from the node identified by the nodeId specified using the pathElements passed.

C#

public OpcNodeId TranslatePath(OpcNodeId nodeId, params OpcName[] pathElements)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service will translate the pathElements.

pathElements OpcName[]

An array of OpcName objects representing the value of the BrowseName attribute of the nodes to visit to translate the last OpcName item in pathElements to the OpcNodeId requested by the service.


Returns

OpcNodeId

The target identifier the pathElements were translated to or a null reference (Nothing in Visual Basic) if the path could not translated.



Exceptions

ArgumentNullException

The pathElements or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the pathElements specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePath(OpcNodeId, OpcRelativePath)

Translates the path starting from the node identified by the nodeId specified.

C#

public OpcNodeId TranslatePath(OpcNodeId nodeId, OpcRelativePath path)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service will translate the path.

path OpcRelativePath

The OpcRelativePath to the OpcNodeId requested by the service.


Returns

OpcNodeId

The target identifier the path was translated to or a null reference (Nothing in Visual Basic) if the path could not translated.



Exceptions

ArgumentNullException

The path is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the path specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePath(OpcNodeId, OpcRelativePathElement[])

Translates a path starting from the node identified by the nodeId specified using the pathElements passed.

C#

public OpcNodeId TranslatePath(OpcNodeId nodeId, params OpcRelativePathElement[] pathElements)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service will translate the pathElements.

pathElements OpcRelativePathElement[]

An array of OpcRelativePathElement objects representing the translation directives of the nodes to visit to translate the last OpcRelativePathElement item in pathElements to the OpcNodeId requested by the service.


Returns

OpcNodeId

The target identifier the pathElements were translated to or a null reference (Nothing in Visual Basic) if the path could not translated.



Exceptions

ArgumentNullException

The pathElements or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the pathElements specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePath(OpcNodeId, String)

Translates the path starting from the node identified by the nodeId specified.

C#

public OpcNodeId TranslatePath(OpcNodeId nodeId, string path)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service will translate the path.

path String

A String representing a OpcRelativePath to the OpcNodeId requested by the service.


Returns

OpcNodeId

The target identifier the path was translated to or a null reference (Nothing in Visual Basic) if the path could not translated.



Exceptions

ArgumentNullException

The path is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the path specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePath(OpcRelativePathElement[])

Translates a path starting from the root node using the pathElements specified.

C#

public OpcNodeId TranslatePath(params OpcRelativePathElement[] pathElements)


Parameters

pathElements OpcRelativePathElement[]

An array of OpcRelativePathElement objects representing the translation directives of the nodes to visit to translate the last OpcRelativePathElement item in pathElements to the OpcNodeId requested by the service.


Returns

OpcNodeId

The target identifier the pathElements were translated to or a null reference (Nothing in Visual Basic) if the path could not translated.



Exceptions

ArgumentNullException

The pathElements or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the pathElements specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePath(OpcTranslatePath)

Translates a path starting from a dedicated node using the command specified.

C#

public OpcTranslatePathResult TranslatePath(OpcTranslatePath command)


Parameters

command OpcTranslatePath

The OpcTranslatePath instance to process.


Returns

OpcTranslatePathResult

An instance of the OpcTranslatePathResult class which contains the target identifier the path has been translated to through the command specified; together with information about the outcome of the processed command.



Exceptions

ArgumentNullException

The command is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the command specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the command specified are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePath(String)

Translates the path starting from the root node.

C#

public OpcNodeId TranslatePath(string path)


Parameters

path String

A String representing a OpcRelativePath to the OpcNodeId requested by the service.


Returns

OpcNodeId

The target identifier the path was translated to or a null reference (Nothing in Visual Basic) if the path could not translated.



Exceptions

ArgumentNullException

The path is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the path specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePaths(IEnumerable<IEnumerable<OpcName>>)

Translates paths starting from the root node using the pathsElements specified.

C#

public IEnumerable<OpcNodeId> TranslatePaths(IEnumerable<IEnumerable<OpcName>> pathsElements)


Parameters

pathsElements IEnumerable<IEnumerable>

A sequence of sequences of OpcName objects representing the value of the BrowseName attribute of the nodes to visit to translate the last OpcName item in a sequence in pathsElements to the OpcNodeIds requested by the service.


Returns

IEnumerable<OpcNodeId>

The target identifiers the pathsElements could translated to.



Exceptions

ArgumentNullException

The pathsElements or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the pathsElements specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePaths(IEnumerable<IEnumerable<OpcRelativePathElement>>)

Translates paths starting from the root node using the pathsElements specified.

C#

public IEnumerable<OpcNodeId> TranslatePaths(IEnumerable<IEnumerable<OpcRelativePathElement>> pathsElements)


Parameters

pathsElements IEnumerable<IEnumerable>

A sequence of sequences of OpcRelativePathElement objects representing the translation directives of the nodes to visit to translate the last OpcRelativePathElement item in a sequence in pathsElements to the OpcNodeIds requested by the service.


Returns

IEnumerable<OpcNodeId>

The target identifiers the pathsElements could translated to.



Exceptions

ArgumentNullException

The pathsElements or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the pathsElements specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePaths(IEnumerable<OpcName>[])

Translates paths starting from the root node using the pathsElements specified.

C#

public IEnumerable<OpcNodeId> TranslatePaths(params IEnumerable<OpcName>[] pathsElements)


Parameters

pathsElements IEnumerable<OpcName>[]

An array of sequences of OpcName objects representing the value of the BrowseName attribute of the nodes to visit to translate the last OpcName item in a sequence in pathsElements to the OpcNodeIds requested by the service.


Returns

IEnumerable<OpcNodeId>

The target identifiers the pathsElements could translated to.



Exceptions

ArgumentNullException

The pathsElements or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the pathsElements specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePaths(IEnumerable<OpcRelativePathElement>[])

Translates a path starting from the root node using the pathsElements specified.

C#

public IEnumerable<OpcNodeId> TranslatePaths(params IEnumerable<OpcRelativePathElement>[] pathsElements)


Parameters

pathsElements IEnumerable<OpcRelativePathElement>[]

An array of sequences of OpcRelativePathElement objects representing the translation directives of the nodes to visit to translate the last OpcRelativePathElement item a sequence in pathsElements to the OpcNodeIds requested by the service.


Returns

IEnumerable<OpcNodeId>

The target identifiers the pathsElements could translated to.



Exceptions

ArgumentNullException

The pathsElements or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the pathsElements specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePaths(IEnumerable<OpcTranslatePath>)

Translates one or more paths starting from one or more dedicated nodes using the specified commands.

C#

public OpcTranslatePathResultCollection TranslatePaths(IEnumerable<OpcTranslatePath> commands)


Parameters

commands IEnumerable<OpcTranslatePath>

A sequence of OpcTranslatePath instances to process.


Returns

OpcTranslatePathResultCollection

An instance of the OpcTranslatePathResultCollection class which contains the target identifiers the paths were translated to through the commands specified; together with information about the outcome of each processed command.



Exceptions

ArgumentNullException

The commands sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the commands specified.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the commands specified are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePaths(IEnumerable<String>)

Translates the paths starting from the root node.

C#

public IEnumerable<OpcNodeId> TranslatePaths(IEnumerable<string> paths)


Parameters

paths IEnumerable<String>

A sequence of String instances representing a OpcRelativePath to the OpcNodeIds requested by the service.


Returns

IEnumerable<OpcNodeId>

The target identifiers the paths could translated to.



Exceptions

ArgumentNullException

The paths or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the paths specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePaths(OpcNodeId, IEnumerable<IEnumerable<OpcName>>)

Translates paths starting from the node identified by the nodeId specified using the pathsElements passed.

C#

public IEnumerable<OpcNodeId> TranslatePaths(OpcNodeId nodeId, IEnumerable<IEnumerable<OpcName>> pathsElements)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service will translate the pathsElements.

pathsElements IEnumerable<IEnumerable>

A sequence of sequences of OpcName objects representing the value of the BrowseName attribute of the nodes to visit to translate the last OpcName item in a sequence in pathsElements to the OpcNodeIds requested by the service.


Returns

IEnumerable<OpcNodeId>

The target identifiers the pathsElements could translated to.



Exceptions

ArgumentNullException

The pathsElements or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the pathsElements specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePaths(OpcNodeId, IEnumerable<IEnumerable<OpcRelativePathElement>>)

Translates paths starting from the node identified by the nodeId specified using the pathsElements passed.

C#

public IEnumerable<OpcNodeId> TranslatePaths(OpcNodeId nodeId, IEnumerable<IEnumerable<OpcRelativePathElement>> pathsElements)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service will translate the pathsElements.

pathsElements IEnumerable<IEnumerable>

A sequence of sequences of OpcRelativePathElement objects representing the translation directives of the nodes to visit to translate the last OpcRelativePathElement item in a sequence of pathsElements to the OpcNodeIds requested by the service.


Returns

IEnumerable<OpcNodeId>

The target identifiers the pathsElements could translated to.



Exceptions

ArgumentNullException

The pathsElements or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the pathsElements specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePaths(OpcNodeId, IEnumerable<OpcName>[])

Translates paths starting from the node identified by the nodeId specified using the pathsElements passed.

C#

public IEnumerable<OpcNodeId> TranslatePaths(OpcNodeId nodeId, params IEnumerable<OpcName>[] pathsElements)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service will translate the pathsElements.

pathsElements IEnumerable<OpcName>[]

An array of sequences of OpcName objects representing the value of the BrowseName attribute of the nodes to visit to translate the last OpcName item in a sequence in pathsElements to the OpcNodeIds requested by the service.


Returns

IEnumerable<OpcNodeId>

The target identifiers the pathsElements could translated to.



Exceptions

ArgumentNullException

The pathsElements or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the pathsElements specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePaths(OpcNodeId, IEnumerable<OpcRelativePath>)

Translates the paths starting from the node identified by the nodeId specified.

C#

public IEnumerable<OpcNodeId> TranslatePaths(OpcNodeId nodeId, IEnumerable<OpcRelativePath> paths)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service will translate the paths.

paths IEnumerable<OpcRelativePath>

A sequence of OpcRelativePath instances to the OpcNodeIds requested by the service.


Returns

IEnumerable<OpcNodeId>

The target identifiers the paths could translated to.



Exceptions

ArgumentNullException

The paths or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the paths specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePaths(OpcNodeId, IEnumerable<OpcRelativePathElement>[])

Translates paths starting from the node identified by the nodeId specified using the pathsElements passed.

C#

public IEnumerable<OpcNodeId> TranslatePaths(OpcNodeId nodeId, params IEnumerable<OpcRelativePathElement>[] pathsElements)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service will translate the pathsElements.

pathsElements IEnumerable<OpcRelativePathElement>[]

An array of sequences of OpcRelativePathElement objects representing the translation directives of the nodes to visit to translate the last OpcRelativePathElement item in a sequence of pathsElements to the OpcNodeIds requested by the service.


Returns

IEnumerable<OpcNodeId>

The target identifiers the pathsElements could translated to.



Exceptions

ArgumentNullException

The pathsElements or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the pathsElements specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePaths(OpcNodeId, IEnumerable<String>)

Translates the paths starting from the node identified by the nodeId specified.

C#

public IEnumerable<OpcNodeId> TranslatePaths(OpcNodeId nodeId, IEnumerable<string> paths)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service will translate the paths.

paths IEnumerable<String>

A sequence of String instances representing a OpcRelativePath to the OpcNodeIds requested by the service.


Returns

IEnumerable<OpcNodeId>

The target identifiers the paths could translated to.



Exceptions

ArgumentNullException

The paths or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the paths specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePaths(OpcNodeId, OpcRelativePath[])

Translates the paths starting from the node identified by the nodeId specified.

C#

public IEnumerable<OpcNodeId> TranslatePaths(OpcNodeId nodeId, params OpcRelativePath[] paths)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service will translate the paths.

paths OpcRelativePath[]

An array of OpcRelativePath instances to the OpcNodeIds requested by the service.


Returns

IEnumerable<OpcNodeId>

The target identifiers the paths could translated to.



Exceptions

ArgumentNullException

The paths or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the paths specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePaths(OpcNodeId, String[])

Translates the paths starting from the node identified by the nodeId specified.

C#

public IEnumerable<OpcNodeId> TranslatePaths(OpcNodeId nodeId, params string[] paths)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service will translate the paths.

paths String[]

An array of String instances representing a OpcRelativePath to the OpcNodeIds requested by the service.


Returns

IEnumerable<OpcNodeId>

The target identifiers the paths could translated to.



Exceptions

ArgumentNullException

The paths or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the paths specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePaths(OpcTranslatePath[])

Translates one or more paths starting from one or more dedicated nodes using the specified commands.

C#

public OpcTranslatePathResultCollection TranslatePaths(params OpcTranslatePath[] commands)


Parameters

commands OpcTranslatePath[]

An array of OpcTranslatePath instances to process.


Returns

OpcTranslatePathResultCollection

An instance of the OpcTranslatePathResultCollection class which contains the target identifiers the paths were translated to through the commands specified; together with information about the outcome of each processed command.



Exceptions

ArgumentNullException

The commands sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the commands specified.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the commands specified are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

TranslatePaths(String[])

Translates the paths starting from the root node.

C#

public IEnumerable<OpcNodeId> TranslatePaths(params string[] paths)


Parameters

paths String[]

An array of String instances representing a OpcRelativePath to the OpcNodeIds requested by the service.


Returns

IEnumerable<OpcNodeId>

The target identifiers the paths could translated to.



Exceptions

ArgumentNullException

The paths or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The translate path service is currently not supported, especially using the paths specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for this method are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadNothingToDo This code indicates that the relativePath contained an empty list.
BadBrowseNameInvalid This code indicates that a TargetName was missing in a RelativePath.
UncertainReferenceOutOfServer The path element has targets which are in another server.
BadTooManyMatches The requested operation has too many matches to return. Users should use queries for large result sets. Servers should allow at least 10 matches before returning this error code.
BadQueryTooComplex The requested operation requires too many resources in the server.
BadNoMatch The requested relativePath cannot be resolved to a target to return.

UnregisterNode(OpcNodeId)

Unregisters a node to not longer optimize its node access using the identifier of the node. The node access to a once unregistered node is not longer optimized.

C#

public void UnregisterNode(OpcNodeId nodeId)


Parameters

nodeId OpcNodeId

The OpcNodeId through that the node to unregister can be identified.



Exceptions

ArgumentException

The nodeId is equals Null.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The unregister node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.

UnregisterNode(OpcUnregisterNode)

Unregisters a node to not longer optimize its node access using the command specified.

C#

public void UnregisterNode(OpcUnregisterNode command)


Parameters

command OpcUnregisterNode

The OpcUnregisterNode instance to process.



Exceptions

ArgumentNullException

The command is a null reference (Nothing in Visual Basic).

InvalidOperationException

The unregister node service is currently not supported, especially using the command specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyMatches.

UnregisterNodes(IEnumerable<OpcNodeId>)

Unregisters one or more nodes to not longer optimize their node access using the identifiers of the nodes. The node access to once unregistered nodes is not longer optimized.

C#

public void UnregisterNodes(IEnumerable<OpcNodeId> nodeIds)


Parameters

nodeIds IEnumerable<OpcNodeId>

A sequence of OpcNodeId instances through that the nodes to unregister can be identified.



Exceptions

ArgumentException

One of the OpcNodeId instances in nodeIds is equals Null.

ArgumentNullException

The nodeIds is a null reference (Nothing in Visual Basic).

InvalidOperationException

The unregister node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.

UnregisterNodes(IEnumerable<OpcUnregisterNode>)

Unregisters one or more nodes to not longer optimize their node access using the specified commands.

C#

public void UnregisterNodes(IEnumerable<OpcUnregisterNode> commands)


Parameters

commands IEnumerable<OpcUnregisterNode>

A sequence of OpcUnregisterNode instances to process.



Exceptions

ArgumentNullException

The commands sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The unregister nodes service is currently not supported, especially using the commands specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyMatches.

UnregisterNodes(OpcNodeId[])

Unregisters one or more nodes to not longer optimize their node access using the identifiers of the nodes. The node access to once unregistered nodes is not longer optimized.

C#

public void UnregisterNodes(params OpcNodeId[] nodeIds)


Parameters

nodeIds OpcNodeId[]

An array of OpcNodeId instances through that the nodes to unregister can be identified.



Exceptions

ArgumentException

One of the OpcNodeId instances in nodeIds is equals Null.

ArgumentNullException

The nodeIds is a null reference (Nothing in Visual Basic).

InvalidOperationException

The unregister node service is currently not supported, especially using the parameters specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.

UnregisterNodes(OpcUnregisterNode[])

Unregisters one or more nodes to not longer optimize their node access using the specified commands.

C#

public void UnregisterNodes(params OpcUnregisterNode[] commands)


Parameters

commands OpcUnregisterNode[]

An array of OpcUnregisterNode instances to process.



Exceptions

ArgumentNullException

The commands sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The unregister nodes service is currently not supported, especially using the commands specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyMatches.

UpdateNodeHistory(Int32, IEnumerable<OpcValue>)

C#

public OpcStatusCollection UpdateNodeHistory(int nodeId, IEnumerable<OpcValue> values)


Parameters

nodeId Int32


values IEnumerable<OpcValue>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


UpdateNodeHistory(Int32, Int32, IEnumerable<OpcValue>)

C#

public OpcStatusCollection UpdateNodeHistory(int nodeId, int namespaceIndex, IEnumerable<OpcValue> values)


Parameters

nodeId Int32


namespaceIndex Int32


values IEnumerable<OpcValue>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


UpdateNodeHistory(Int32, Int32, OpcValue)

C#

public OpcStatus UpdateNodeHistory(int nodeId, int namespaceIndex, OpcValue value)


Parameters

nodeId Int32


namespaceIndex Int32


value OpcValue



Returns

OpcStatus



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


UpdateNodeHistory(Int32, OpcValue)

C#

public OpcStatus UpdateNodeHistory(int nodeId, OpcValue value)


Parameters

nodeId Int32


value OpcValue



Returns

OpcStatus



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


UpdateNodeHistory(Int32, OpcValue[])

C#

public OpcStatusCollection UpdateNodeHistory(int nodeId, params OpcValue[] values)


Parameters

nodeId Int32


values OpcValue[]



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


UpdateNodeHistory(OpcNodeHistoryCommand)

C#

public OpcStatusCollection UpdateNodeHistory(OpcNodeHistoryCommand command)


Parameters

command OpcNodeHistoryCommand



Returns

OpcStatusCollection



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


UpdateNodeHistory(OpcNodeId, IEnumerable<OpcValue>)

C#

public OpcStatusCollection UpdateNodeHistory(OpcNodeId nodeId, IEnumerable<OpcValue> values)


Parameters

nodeId OpcNodeId


values IEnumerable<OpcValue>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


UpdateNodeHistory(OpcNodeId, OpcValue)

C#

public OpcStatus UpdateNodeHistory(OpcNodeId nodeId, OpcValue value)


Parameters

nodeId OpcNodeId


value OpcValue



Returns

OpcStatus



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


UpdateNodeHistory(OpcNodeId, OpcValue[])

C#

public OpcStatusCollection UpdateNodeHistory(OpcNodeId nodeId, params OpcValue[] values)


Parameters

nodeId OpcNodeId


values OpcValue[]



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


UpdateNodeHistory(OpcUpdateNodeHistory)

C#

public OpcStatusCollection UpdateNodeHistory(OpcUpdateNodeHistory command)


Parameters

command OpcUpdateNodeHistory



Returns

OpcStatusCollection



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


UpdateNodeHistory(String, IEnumerable<OpcValue>)

C#

public OpcStatusCollection UpdateNodeHistory(string nodeId, IEnumerable<OpcValue> values)


Parameters

nodeId String


values IEnumerable<OpcValue>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


UpdateNodeHistory(String, Int32, IEnumerable<OpcValue>)

C#

public OpcStatusCollection UpdateNodeHistory(string nodeId, int namespaceIndex, IEnumerable<OpcValue> values)


Parameters

nodeId String


namespaceIndex Int32


values IEnumerable<OpcValue>



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


UpdateNodeHistory(String, Int32, OpcValue)

C#

public OpcStatus UpdateNodeHistory(string nodeId, int namespaceIndex, OpcValue value)


Parameters

nodeId String


namespaceIndex Int32


value OpcValue



Returns

OpcStatus



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


UpdateNodeHistory(String, Int32, OpcValue[])

C#

public OpcStatusCollection UpdateNodeHistory(string nodeId, int namespaceIndex, params OpcValue[] values)


Parameters

nodeId String


namespaceIndex Int32


values OpcValue[]



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


UpdateNodeHistory(String, OpcValue)

C#

public OpcStatus UpdateNodeHistory(string nodeId, OpcValue value)


Parameters

nodeId String


value OpcValue



Returns

OpcStatus



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


UpdateNodeHistory(String, OpcValue[])

C#

public OpcStatusCollection UpdateNodeHistory(string nodeId, params OpcValue[] values)


Parameters

nodeId String


values OpcValue[]



Returns

OpcStatusCollection



Exceptions

ArgumentException


ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


UpdateNodesHistory(IEnumerable<OpcNodeHistoryCommand>)

C#

public IDictionary<OpcNodeId, OpcStatusCollection> UpdateNodesHistory(IEnumerable<OpcNodeHistoryCommand> commands)


Parameters

commands IEnumerable<OpcNodeHistoryCommand>



Returns

IDictionary<OpcNodeId, OpcStatusCollection>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


UpdateNodesHistory(IEnumerable<OpcUpdateNodeHistory>)

C#

public IDictionary<OpcNodeId, OpcStatusCollection> UpdateNodesHistory(IEnumerable<OpcUpdateNodeHistory> commands)


Parameters

commands IEnumerable<OpcUpdateNodeHistory>



Returns

IDictionary<OpcNodeId, OpcStatusCollection>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


UpdateNodesHistory(OpcNodeHistoryCommand[])

C#

public IDictionary<OpcNodeId, OpcStatusCollection> UpdateNodesHistory(params OpcNodeHistoryCommand[] commands)


Parameters

commands OpcNodeHistoryCommand[]



Returns

IDictionary<OpcNodeId, OpcStatusCollection>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


UpdateNodesHistory(OpcUpdateNodeHistory[])

C#

public IDictionary<OpcNodeId, OpcStatusCollection> UpdateNodesHistory(params OpcUpdateNodeHistory[] commands)


Parameters

commands OpcUpdateNodeHistory[]



Returns

IDictionary<OpcNodeId, OpcStatusCollection>



Exceptions

ArgumentNullException


InvalidOperationException


OpcException


ObjectDisposedException


WriteNode(Int32, Int32, Object)

Writes the value to the Value attribute of the node specified by nodeId and namespaceIndex.

C#

public OpcStatus WriteNode(int nodeId, int namespaceIndex, object value)


Parameters

nodeId Int32

The numeric node identifier of the node to write to.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

value Object

The data to write to the Value attribute.


Returns

OpcStatus

An instance of the OpcStatus class which indicates the outcome of the write operation.



Exceptions

ArgumentException

The nodeId is an empty string.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The write service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the operation are:

Status Description
GoodCompletesAsynchronously The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly.
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadWriteNotSupported The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node.
BadNotWritable For more details see BadNotWritable.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadOutOfRange If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node.
BadTypeMismatch For more details see BadTypeMismatch.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNoCommunication For more details see BadNoCommunication.

WriteNode(Int32, Int32, OpcAttribute, Object)

Writes the value to the attribute of the node specified by nodeId and namespaceIndex.

C#

public OpcStatus WriteNode(int nodeId, int namespaceIndex, OpcAttribute attribute, object value)


Parameters

nodeId Int32

The numeric node identifier of the node to write to.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.

value Object

The data to write to the attribute.


Returns

OpcStatus

An instance of the OpcStatus class which indicates the outcome of the write operation.



Exceptions

ArgumentException

The nodeId is equals zero.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The write service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the operation are:

Status Description
GoodCompletesAsynchronously The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly.
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadWriteNotSupported The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node.
BadNotWritable For more details see BadNotWritable.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadOutOfRange If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node.
BadTypeMismatch For more details see BadTypeMismatch.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNoCommunication For more details see BadNoCommunication.

WriteNode(Int32, Object)

Writes the value to the Value attribute of the node specified by nodeId.

C#

public OpcStatus WriteNode(int nodeId, object value)


Parameters

nodeId Int32

The numeric node identifier of the node to write to.

value Object

The data to write to the Value attribute.


Returns

OpcStatus

An instance of the OpcStatus class which indicates the outcome of the write operation.



Exceptions

ArgumentException

The nodeId is equals to zero.

InvalidOperationException

The write service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the operation are:

Status Description
GoodCompletesAsynchronously The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly.
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadWriteNotSupported The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node.
BadNotWritable For more details see BadNotWritable.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadOutOfRange If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node.
BadTypeMismatch For more details see BadTypeMismatch.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNoCommunication For more details see BadNoCommunication.

WriteNode(Int32, OpcAttribute, Object)

Writes the value to the attribute of the node specified by nodeId.

C#

public OpcStatus WriteNode(int nodeId, OpcAttribute attribute, object value)


Parameters

nodeId Int32

The numeric node identifier of the node to write to.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.

value Object

The data to write to the attribute.


Returns

OpcStatus

An instance of the OpcStatus class which indicates the outcome of the write operation.



Exceptions

ArgumentException

The nodeId is equals zero.

InvalidOperationException

The write service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the operation are:

Status Description
GoodCompletesAsynchronously The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly.
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadWriteNotSupported The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node.
BadNotWritable For more details see BadNotWritable.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadOutOfRange If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node.
BadTypeMismatch For more details see BadTypeMismatch.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNoCommunication For more details see BadNoCommunication.

WriteNode(OpcNodeId, Object)

Writes the value to the Value attribute of the node specified by nodeId.

C#

public OpcStatus WriteNode(OpcNodeId nodeId, object value)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node to write to.

value Object

The data to write to the Value attribute.


Returns

OpcStatus

An instance of the OpcStatus class which indicates the outcome of the write operation.



Exceptions

ArgumentException

The nodeId indicates to be a null-node-id (see IsNull).

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The write service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the operation are:

Status Description
GoodCompletesAsynchronously The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly.
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadWriteNotSupported The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node.
BadNotWritable For more details see BadNotWritable.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadOutOfRange If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node.
BadTypeMismatch For more details see BadTypeMismatch.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNoCommunication For more details see BadNoCommunication.

WriteNode(OpcNodeId, OpcAttribute, Object)

Writes the value to the attribute of the node specified by nodeId.

C#

public OpcStatus WriteNode(OpcNodeId nodeId, OpcAttribute attribute, object value)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node to write to.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.

value Object

The data to write to the Value attribute.


Returns

OpcStatus

An instance of the OpcStatus class which indicates the outcome of the write operation.



Exceptions

ArgumentException

The nodeId indicates to be a null-node-id (see IsNull).

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The write service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the operation are:

Status Description
GoodCompletesAsynchronously The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly.
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadWriteNotSupported The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node.
BadNotWritable For more details see BadNotWritable.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadOutOfRange If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node.
BadTypeMismatch For more details see BadTypeMismatch.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNoCommunication For more details see BadNoCommunication.

WriteNode(OpcWriteNode)

Writes one value to one attribute of one node using the specified command.

C#

public OpcStatus WriteNode(OpcWriteNode command)


Parameters

command OpcWriteNode

The OpcWriteNode instance to process.


Returns

OpcStatus

An instance of the OpcStatus class which indicates the outcome of the operation for the command.



Exceptions

ArgumentNullException

The command is a null reference (Nothing in Visual Basic).

InvalidOperationException

The write service is currently not supported, especially using the command specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the command specified are:

Status Description
GoodCompletesAsynchronously The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly.
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadWriteNotSupported The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node.
BadNotWritable For more details see BadNotWritable.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadOutOfRange If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node.
BadTypeMismatch For more details see BadTypeMismatch.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNoCommunication For more details see BadNoCommunication.

WriteNode(String, Int32, Object)

Writes the value to the Value attribute of the node specified by nodeId and namespaceIndex.

C#

public OpcStatus WriteNode(string nodeId, int namespaceIndex, object value)


Parameters

nodeId String

The textual node identifier of the node to write to.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

value Object

The data to write to the Value attribute.


Returns

OpcStatus

An instance of the OpcStatus class which indicates the outcome of the write operation.



Exceptions

ArgumentException

The nodeId is an empty string.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The write service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the operation are:

Status Description
GoodCompletesAsynchronously The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly.
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadWriteNotSupported The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node.
BadNotWritable For more details see BadNotWritable.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadOutOfRange If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node.
BadTypeMismatch For more details see BadTypeMismatch.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNoCommunication For more details see BadNoCommunication.

WriteNode(String, Int32, OpcAttribute, Object)

Writes the value to the attribute of the node specified by nodeId and namespaceIndex.

C#

public OpcStatus WriteNode(string nodeId, int namespaceIndex, OpcAttribute attribute, object value)


Parameters

nodeId String

The textual node identifier of the node to write to.

namespaceIndex Int32

The index of the namespace within that the node with the nodeId specified can be located.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.

value Object

The data to write to the attribute.


Returns

OpcStatus

An instance of the OpcStatus class which indicates the outcome of the write operation.



Exceptions

ArgumentException

The nodeId is an empty string.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The write service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the operation are:

Status Description
GoodCompletesAsynchronously The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly.
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadWriteNotSupported The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node.
BadNotWritable For more details see BadNotWritable.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadOutOfRange If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node.
BadTypeMismatch For more details see BadTypeMismatch.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNoCommunication For more details see BadNoCommunication.

WriteNode(String, Object)

Writes the value to the Value attribute of the node specified by nodeId.

C#

public OpcStatus WriteNode(string nodeId, object value)


Parameters

nodeId String

The textual node identifier of the node to write to.

value Object

The data to write to the Value attribute.


Returns

OpcStatus

An instance of the OpcStatus class which indicates the outcome of the write operation.



Exceptions

ArgumentException

The nodeId is an empty string.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The write service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the operation are:

Status Description
GoodCompletesAsynchronously The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly.
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadWriteNotSupported The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node.
BadNotWritable For more details see BadNotWritable.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadOutOfRange If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node.
BadTypeMismatch For more details see BadTypeMismatch.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNoCommunication For more details see BadNoCommunication.

WriteNode(String, OpcAttribute, Object)

Writes the value to the attribute of the node specified by nodeId.

C#

public OpcStatus WriteNode(string nodeId, OpcAttribute attribute, object value)


Parameters

nodeId String

The textual node identifier of the node to write to.

attribute OpcAttribute

One of the members defined by the OpcAttribute enumeration that defines which node attribute is to be used by the service.

value Object

The data to write to the attribute.


Returns

OpcStatus

An instance of the OpcStatus class which indicates the outcome of the write operation.



Exceptions

ArgumentException

The nodeId is an empty string.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

InvalidOperationException

The write service is currently not supported, especially using the arguments specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the operation are:

Status Description
GoodCompletesAsynchronously The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly.
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadWriteNotSupported The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node.
BadNotWritable For more details see BadNotWritable.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadOutOfRange If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node.
BadTypeMismatch For more details see BadTypeMismatch.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNoCommunication For more details see BadNoCommunication.

WriteNodes(IEnumerable<OpcWriteNode>)

Writes one or more values to one or more attributes of one or more nodes using the specified commands.

C#

public OpcStatusCollection WriteNodes(IEnumerable<OpcWriteNode> commands)


Parameters

commands IEnumerable<OpcWriteNode>

A sequence of OpcWriteNode instances to process.


Returns

OpcStatusCollection

An instance of the OpcStatusCollection its number and order of items matches the number and order of items in the commands sequence. There is for each command one entry which indicates the outcome of the operation for that command.



Exceptions

ArgumentNullException

The commands sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The write service is currently not supported, especially using the commands specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the commands specified are:

Status Description
GoodCompletesAsynchronously The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly.
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadWriteNotSupported The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node.
BadNotWritable For more details see BadNotWritable.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadOutOfRange If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node.
BadTypeMismatch For more details see BadTypeMismatch.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNoCommunication For more details see BadNoCommunication.

WriteNodes(OpcWriteNode[])

Writes one or more values to one or more attributes of one or more nodes using the specified commands.

C#

public OpcStatusCollection WriteNodes(params OpcWriteNode[] commands)


Parameters

commands OpcWriteNode[]

An array of OpcWriteNode instances to process.


Returns

OpcStatusCollection

An instance of the OpcStatusCollection its number and order of items matches the number and order of items in the commands commands. There is for each command one entry which indicates the outcome of the operation for that command.



Exceptions

ArgumentNullException

The commands array or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The write service is currently not supported, especially using the commands specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the commands specified are:

Status Description
GoodCompletesAsynchronously The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly.
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadWriteNotSupported The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node.
BadNotWritable For more details see BadNotWritable.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadOutOfRange If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node.
BadTypeMismatch For more details see BadTypeMismatch.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNoCommunication For more details see BadNoCommunication.

WriteNodeValue(IOpcNodeValue, Object)

Writes the Value attribute of the node using the further specified value.

C#

public OpcStatus WriteNodeValue(IOpcNodeValue node, object value)


Parameters

node IOpcNodeValue

The IOpcNodeValue instance which represents the node its Value is to be written.

value Object

The data to write to the Value attribute.


Returns

OpcStatus

An instance of the OpcStatus class which indicates the outcome of the write operation.



Exceptions

ArgumentNullException

The node is a null reference (Nothing in Visual Basic).

InvalidOperationException

The write service is currently not supported, especially using the node specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the operation are:

Status Description
GoodCompletesAsynchronously The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly.
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadWriteNotSupported The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node.
BadNotWritable For more details see BadNotWritable.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadOutOfRange If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node.
BadTypeMismatch For more details see BadTypeMismatch.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNoCommunication For more details see BadNoCommunication.

WriteNodeValues(IEnumerable<OpcNodeValuePair>)

Writes the Value attributes using the nodes and values in the nodeValues specified.

C#

public OpcStatusCollection WriteNodeValues(IEnumerable<OpcNodeValuePair> nodeValues)


Parameters

nodeValues IEnumerable<OpcNodeValuePair>

A sequence of OpcNodeValuePair items which represents the nodes its Value is to be written using the further defined values.


Returns

OpcStatusCollection

An instance of the OpcStatusCollection its number and order of items matches the number and order of items in the nodeValues sequence. There is for each item one entry which indicates the outcome of the operation for the OpcNodeValuePair item.



Exceptions

ArgumentNullException

The nodeValues sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The write service is currently not supported, especially using the nodeValues specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the operation are:

Status Description
GoodCompletesAsynchronously The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly.
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadWriteNotSupported The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node.
BadNotWritable For more details see BadNotWritable.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadOutOfRange If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node.
BadTypeMismatch For more details see BadTypeMismatch.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNoCommunication For more details see BadNoCommunication.

WriteNodeValues(OpcNodeValuePair[])

Writes the Value attributes using the nodeValues specified.

C#

public OpcStatusCollection WriteNodeValues(params OpcNodeValuePair[] nodeValues)


Parameters

nodeValues OpcNodeValuePair[]

An array of OpcNodeValuePair items representing the nodes and values which are written to their Value attribute.


Returns

OpcStatusCollection

An instance of the OpcStatusCollection its number and order of items matches the number and order of items in the nodeValues array. There is for each entry in nodeValues one entry which indicates the outcome of the operation for that node.



Exceptions

ArgumentNullException

The nodeValues array or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The write service is currently not supported, especially using the nodeValues specified.

ObjectDisposedException

The object has been disposed of.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.


Remarks

Known results for the operation are:

Status Description
GoodCompletesAsynchronously The value was successfully written to an intermediate system but the Server does not know if the data source was updated properly.
BadNodeIdInvalid For more details see BadNodeIdInvalid.
BadNodeIdUnknown For more details see BadNodeIdUnknown.
BadAttributeInvalid For more details see BadAttributeInvalid.
BadIndexRangeInvalid For more details see BadIndexRangeInvalid.
BadIndexRangeNoData For more details see BadIndexRangeNoData.
BadWriteNotSupported The requested write operation is not supported. If a client attempts to write any value, quality, timestamp combination and the server does not support the requested combination (which could be a single quantity such as just timestamp), then the Server shall not perform any write on this node and shall return this status for that node.
BadNotWritable For more details see BadNotWritable.
BadUserAccessDenied For more details see BadUserAccessDenied.
BadOutOfRange If a client attempts to write a value outside the valid range like a value not contained in the enumeration data type of a node, the server shall return this status for that node.
BadTypeMismatch For more details see BadTypeMismatch.
BadDataEncodingUnsupported For more details see BadDataEncodingUnsupported.
BadNoCommunication For more details see BadNoCommunication.