Reference
OpcMethodCommands Members
Provides a set of static (Shared in Visual Basic) IOpcMethodCommand instances.
Reference
OpcMethodCommands Members
- Type
- OpcMethodCommands
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Properties
NotImplemented
Gets an IOpcMethodCommand its executability evaluates to the value true while its implementation always returns the OPC UA related OpcResult using the OpcStatusCode member BadNotImplemented. Use this command in case there the method implementation is still in progress.
public static IOpcMethodCommand NotImplemented { get; }Public Shared ReadOnly Property NotImplemented As IOpcMethodCommandProperty value
An executable command its execution results to BadNotImplemented.
Methods
Execute
Provides an IOpcMethodCommand is executability evaluates to the value true while its implementation invokes the callback specified.
public static IOpcMethodCommand Execute(
OpcMethodCommands.ExecuteDelegate callback)Public Shared Function Execute(
callback As OpcMethodCommands.ExecuteDelegate) As IOpcMethodCommandParameters
| Name | Type | Description |
|---|---|---|
callback | Opc | The Opc |
Returns
A new instance of an executable command its execution will invoke the callback specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The callback is a null reference ( |
ExecuteAsync
Provides an IOpcAsyncMethodCommand is executability evaluates to the value true while its implementation invokes the callback specified.
public static IOpcAsyncMethodCommand ExecuteAsync(
OpcMethodCommands.ExecuteAsyncDelegate callback)Public Shared Function ExecuteAsync(
callback As OpcMethodCommands.ExecuteAsyncDelegate) As IOpcAsyncMethodCommandParameters
| Name | Type | Description |
|---|---|---|
callback | Opc | The Opc |
Returns
A new instance of an executable command its execution will invoke the async callback specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The callback is a null reference ( |

