Reference
OpcDeleteReferencesRequest Members
Represents the request of the DeleteReferences service of OPC UA, which deletes references from the address space.
Reference
OpcDeleteReferencesRequest Members
- Type
- OpcDeleteReferencesRequest
- Namespace
- Opc.UaFx.Services
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Inherits members from OpcServiceRequest<OpcDeleteReference, OpcDeleteReferenceCollection>, OpcServiceRequest.
Constructors
OpcDeleteReferencesRequest
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opccommands and a new header. |
| Opc | Initializes a new instance of the Opccommands and a new header. |
| Opc | Initializes a new instance of the Opcheader and commands. |
| Opc | Initializes a new instance of the Opcheader and commands. |
OpcDeleteReferencesRequest(IEnumerable<OpcDeleteReference>)
Initializes a new instance of the OpcDeleteReferencesRequest class using the specified commands and a new header.
public OpcDeleteReferencesRequest(IEnumerable<OpcDeleteReference> commands)Public Sub New(commands As IEnumerable(Of OpcDeleteReference))Parameters
| Name | Type | Description |
|---|---|---|
commands | IEnumerable<Opc | The commands which specify the references to delete. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The commands is a null reference ( |
OpcDeleteReferencesRequest(params OpcDeleteReference[])
Initializes a new instance of the OpcDeleteReferencesRequest class using the specified commands and a new header.
public OpcDeleteReferencesRequest(params OpcDeleteReference[] commands)Public Sub New(ParamArray commands As OpcDeleteReference())Parameters
| Name | Type | Description |
|---|---|---|
commands | params Opc | The commands which specify the references to delete. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The commands is a null reference ( |
OpcDeleteReferencesRequest(IOpcServiceRequestHeader, IEnumerable<OpcDeleteReference>)
Initializes a new instance of the OpcDeleteReferencesRequest class using the specified header and commands.
public OpcDeleteReferencesRequest(
IOpcServiceRequestHeader header,
IEnumerable<OpcDeleteReference> commands)Public Sub New(
header As IOpcServiceRequestHeader,
commands As IEnumerable(Of OpcDeleteReference))Parameters
| Name | Type | Description |
|---|---|---|
header | IOpc | The header of the request. |
commands | IEnumerable<Opc | The commands which specify the references to delete. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The header or the commands is a null reference ( |
OpcDeleteReferencesRequest(IOpcServiceRequestHeader, params OpcDeleteReference[])
Initializes a new instance of the OpcDeleteReferencesRequest class using the specified header and commands.
public OpcDeleteReferencesRequest(
IOpcServiceRequestHeader header,
params OpcDeleteReference[] commands)Public Sub New(
header As IOpcServiceRequestHeader,
ParamArray commands As OpcDeleteReference())Parameters
| Name | Type | Description |
|---|---|---|
header | IOpc | The header of the request. |
commands | params Opc | The commands which specify the references to delete. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The header or the commands is a null reference ( |
Methods
Validate
Validates the request before a server processes it.
protected override void Validate()Protected Overrides Sub Validate()Overrides
Remarks
A server rejects the request with BadNothingToDo if it contains no commands or if the source node identifier, the target node identifier or the reference type identifier of a command is a null identifier; then none of the commands is executed.

