OpcMethodCommands Members

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

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.

C#

public static IOpcMethodCommand NotImplemented { get; }


Property Value

IOpcMethodCommand

An executable command its execution results to BadNotImplemented.

Execute(ExecuteDelegate)

Provides an IOpcMethodCommand is executability evaluates to the value true while its implementation invokes the callback specified.

C#

public static IOpcMethodCommand Execute(OpcMethodCommands.ExecuteDelegate callback)


Parameters

callback ExecuteDelegate

The ExecuteDelegate to invoke whenever the command is executed.


Returns

IOpcMethodCommand

A new instance of an executable command its execution will invoke the callback specified.



Exceptions

ArgumentNullException

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

ExecuteAsync(ExecuteAsyncDelegate)

Provides an IOpcAsyncMethodCommand is executability evaluates to the value true while its implementation invokes the callback specified.

C#

public static IOpcAsyncMethodCommand ExecuteAsync(OpcMethodCommands.ExecuteAsyncDelegate callback)


Parameters

callback ExecuteAsyncDelegate

The ExecuteAsyncDelegate to invoke whenever the command is executed.


Returns

IOpcAsyncMethodCommand

A new instance of an executable command its execution will invoke the async callback specified.



Exceptions

ArgumentNullException

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