Reference
OpcConditionExtension Members
Provides static (Shared in Visual Basic) extension methods to manage OpcCondition objects.
Reference
OpcConditionExtension Members
- Type
- OpcConditionExtension
- Namespace
- Opc.UaFx.Client
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Methods
AddComment
| Overload | Description |
|---|---|
| AddComment( | Applies a comment to the state reported by an event notification which can be identified by the EventId of the condition specified using the further specified client. |
| AddComment( | Applies a comment to the state reported by an event notification which can be identified by the eventId on the condition specified using the further specified client. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| OpcException | The call of the method node failed ( |
AddComment(OpcCondition, OpcClient, OpcText)
Applies a comment to the state reported by an event notification which can be identified by the EventId of the condition specified using the further specified client.
public static void AddComment(
this OpcCondition condition,
OpcClient client,
OpcText comment)Public Shared Sub AddComment(
condition As OpcCondition,
client As OpcClient,
comment As OpcText)Parameters
| Name | Type | Description |
|---|---|---|
condition | OpcCondition | The OpcCondition its 'AddComment' method node is to be called. |
client | OpcClient | The OpcClient to use to call the method. |
comment | OpcText | The text to apply on the condition state. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The condition or client is a null reference ( |
AddComment(OpcCondition, OpcClient, byte[], OpcText)
Applies a comment to the state reported by an event notification which can be identified by the eventId on the condition specified using the further specified client.
public static void AddComment(
this OpcCondition condition,
OpcClient client,
byte[] eventId,
OpcText comment)Public Shared Sub AddComment(
condition As OpcCondition,
client As OpcClient,
eventId As Byte(),
comment As OpcText)Parameters
| Name | Type | Description |
|---|---|---|
condition | OpcCondition | The OpcCondition its 'AddComment' method node is to be called. |
client | OpcClient | The OpcClient to use to call the method. |
eventId | Byte[] | The identifier which identifies the particular event notification its reported state for the condition is to be commented. |
comment | OpcText | The text to apply on the condition state. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The condition, client or eventId is a null reference ( |
Disable
Changes the condition state to 'Disabled' of the condition specified using the further specified client.
public static void Disable(this OpcCondition condition, OpcClient client)Public Shared Sub Disable(condition As OpcCondition, client As OpcClient)Parameters
| Name | Type | Description |
|---|---|---|
condition | OpcCondition | The OpcCondition its 'Disable' method node is to be called. |
client | OpcClient | The OpcClient to use to call the method. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The condition or client is a null reference ( |
| OpcException | The call of the method node failed ( |
Enable
Changes the condition state to 'Enabled' of the condition specified using the further specified client.
public static void Enable(this OpcCondition condition, OpcClient client)Public Shared Sub Enable(condition As OpcCondition, client As OpcClient)Parameters
| Name | Type | Description |
|---|---|---|
condition | OpcCondition | The OpcCondition its 'Enable' method node is to be called. |
client | OpcClient | The OpcClient to use to call the method. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The condition or client is a null reference ( |
| OpcException | The call of the method node failed ( |

