OPC Studio User's Guide and Reference
UACodeBits Enumeration



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace : UACodeBits Enumeration
The code bits of the status code (UAStatusCode).
Syntax
'Declaration
 
<ComVisibleAttribute(True)>
<DisplayName2Attribute("OPC UA Code Bits")>
<GuidAttribute("DA959564-5B0D-43B8-99D9-AF392B255CFB")>
Public Enum UACodeBits 
   Inherits System.Enum
   Implements System.IComparable, System.IConvertible, System.IFormattable 
'Usage
 
Dim instance As UACodeBits
[ComVisible(true)]
[DisplayName2("OPC UA Code Bits")]
[Guid("DA959564-5B0D-43B8-99D9-AF392B255CFB")]
public enum UACodeBits : System.Enum, System.IComparable, System.IConvertible, System.IFormattable  
[ComVisible(true)]
[DisplayName2("OPC UA Code Bits")]
[Guid("DA959564-5B0D-43B8-99D9-AF392B255CFB")]
public enum class UACodeBits : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable  
Members
MemberValueDescription
Bad32768The operation failed.
BadAggregateConfigurationRejected32986The aggregate configuration is not valid for specified node.
BadAggregateInvalidInputs32982The aggregate value could not be derived due to invalid data inputs.
BadAggregateListMismatch32980The requested number of Aggregates does not match the requested number of NodeIds.
BadAggregateNotSupported32981The requested Aggregate is not support by the server.
BadAlreadyExists33045An equivalent rule already exists.
BadApplicationSignatureInvalid32856The signature generated with the client certificate is missing or invalid.
BadArgumentsMissing32886The client did not specify all of the input arguments for the method.
BadAttributeIdInvalid32821The attribute is not supported for the specified Node.
BadBoundNotFound32983No data found to provide upper or lower bound value.
BadBoundNotSupported32984The server cannot retrieve a bound for the variable.
BadBrowseDirectionInvalid32845The browse direction is not valid.
BadBrowseNameDuplicated32865The browse name is not unique among nodes that share the same relationship with the parent.
BadBrowseNameInvalid32864The browse name is invalid.
BadCertificateChainIncomplete33037The certificate chain is incomplete.
BadCertificateHostNameInvalid32790The HostName used to connect to a server does not match a HostName in the certificate.
BadCertificateInvalid32786The certificate provided as a parameter is not valid.
BadCertificateIssuerRevocationUnknown32796It was not possible to determine if the issuer certificate has been revoked.
BadCertificateIssuerRevoked32798The issuer certificate has been revoked.
BadCertificateIssuerTimeInvalid32789An issuer certificate has expired or is not yet valid.
BadCertificateIssuerUseNotAllowed32793The issuer certificate may not be used for the requested operation.
BadCertificatePolicyCheckFailed33044The certificate does not meet the requirements of the security policy.
BadCertificateRevocationUnknown32795It was not possible to determine if the certificate has been revoked.
BadCertificateRevoked32797The certificate has been revoked.
BadCertificateTimeInvalid32788The certificate has expired or is not yet valid.
BadCertificateUntrusted32794The certificate is not trusted.
BadCertificateUriInvalid32791The URI specified in the ApplicationDescription does not match the URI in the certificate.
BadCertificateUseNotAllowed32792The certificate may not be used for the requested operation.
BadCommunicationError32773A low level communication error occurred.
BadConditionAlreadyDisabled32920This condition has already been disabled.
BadConditionAlreadyEnabled32972This condition has already been enabled.
BadConditionAlreadyShelved32977The condition has already been shelved.
BadConditionBranchAlreadyAcked32975The condition branch has already been acknowledged.
BadConditionBranchAlreadyConfirmed32976The condition branch has already been confirmed.
BadConditionDisabled32921Property not available, this condition is disabled.
BadConditionNotShelved32978The condition is not currently shelved.
BadConfigurationError32905There is a problem with the configuration that affects the usefulness of the value.
BadConnectionClosed32942The network connection has been closed.
BadConnectionRejected32940Could not establish a network connection to remote server.
BadContentFilterInvalid32840The content filter is not valid.
BadContinuationPointInvalid32842The continuation point provide is longer valid.
BadDataEncodingInvalid32824The data encoding is invalid.
BadDataEncodingUnsupported32825The server does not support the requested data encoding for the node.
BadDataLost32925Data is missing due to collection started/stopped/lost.
BadDataSetIdInvalid32999The DataSet specified for the DataSetWriter creation is invalid.
BadDataTypeIdUnknown32785The extension object cannot be (de)serialized because the data type id is not recognized.
BadDataUnavailable32926Expected data is unavailable for the requested time range due to an un-mounted volume, an off-line archive or tape, or similar reason for temporary unavailability.
BadDeadbandFilterInvalid32910The deadband filter is not valid.
BadDecodingError32775Decoding halted because of invalid data in the stream.
BadDependentValueChanged32995A dependent value has been changed but the change has not been applied to the device. The quality of the dominant variable is Bad.
BadDeviceFailure32907There has been a failure in the device/data source that generates the value that has affected the value.
BadDialogNotActive32973The dialog condition is not active.
BadDialogResponseInvalid32974The response is not valid for the dialog.
BadDisconnect32941The server has disconnected from the client.
BadDiscoveryUrlMissing32849No DiscoveryUrl was specified.
BadDominantValueChanged32993The related EngineeringUnit has been changed but this change has not been applied to the device. The Variable Value is still dependent on the previous unit but its status is currently Bad.
BadDuplicateReferenceNotAllowed32870The reference type between the nodes is already defined.
BadEdited_OutOfRange33049It is delivered with a Variable value when Variable has changed but the value is not legal.
BadEdited_OutOfRange_DominantValueChanged33052It is delivered with a dependent Variable value when a dominant Variable has changed, the value is not legal and the change has not been applied.
BadEdited_OutOfRange_DominantValueChanged_DependentValueChanged33054It is delivered with a dependent Variable value when a dominant or dependent Variable has changed, the value is not legal and the change has not been applied.
BadEncodingError32774Encoding halted because of invalid data in the objects being serialized.
BadEncodingLimitsExceeded32776The message encoding/decoding limits imposed by the stack have been exceeded.
BadEndOfStream32944Cannot move beyond end of the stream.
BadEntryExists32927The data or event was not successfully inserted because a matching entry exists.
BadEventFilterInvalid32839The event filter is not valid.
BadEventIdUnknown32922The specified event id is not recognized.
BadEventNotAcknowledgeable32955The event cannot be acknowledged.
BadExpectedStreamToBlock32948The stream did not return all data requested (possibly because it is a non-blocking stream).
BadFilterElementInvalid32964The referenced element is not a valid element in the content filter.
BadFilterLiteralInvalid32965The referenced literal is not a valid value.
BadFilterNotAllowed32837A monitoring filter cannot be used in combination with the attribute specified.
BadFilterOperandCountMismatch32963The number of operands provided for the filter operator was less then expected for the operand provided.
BadFilterOperandInvalid32841The operand used in a content filter is not valid.
BadFilterOperatorInvalid32961An unrecognized operator was provided in a filter.
BadFilterOperatorUnsupported32962A valid operator was provided, but the server does not provide support for this filter operator.
BadHistoryOperationInvalid32881The history details parameter is not valid.
BadHistoryOperationUnsupported32882The server does not support the requested operation.
BadIdentityChangeNotSupported32966The server does not support changing the user identity assigned to the session.
BadIdentityTokenInvalid32800The user identity token is not valid.
BadIdentityTokenRejected32801The user identity token is valid but the server has rejected it.
BadIndexRangeInvalid32822The syntax of the index range parameter is invalid.
BadIndexRangeNoData32823No data exists within the range of indexes specified.
BadInitialValue_OutOfRange33050It is delivered with a Variable value when a source Variable has changed but the value is not legal.
BadInsufficientClientProfile32892The client of the current session does not support one or more Profiles that are necessary for the subscription.
BadInternalError32770An internal error occurred as a result of a programming or configuration error.
BadInvalidArgument32939One or more arguments are invalid.
BadInvalidSelfReference32871The server does not allow this type of self reference on this node.
BadInvalidState32943The operation cannot be completed because the object is closed, uninitialized or in some other invalid state.
BadInvalidTimestamp32803The timestamp is outside the range allowed by the server.
BadInvalidTimestampArgument32957The defined timestamp to return was invalid.
BadLicenseExpired33038The server requires a license to operate in general or to perform a service or operation, but existing license is expired.
BadLicenseLimitsExceeded33039The server has limits on number of allowed operations / objects, based on installed licenses, and these limits where exceeded.
BadLicenseNotAvailable33040The server does not have a license which is required to operate in general or to perform a service or operation.
BadLocked33001The requested operation is not allowed, because the Node is locked by a different application.
BadMaxAgeInvalid32880The max age parameter is invalid.
BadMaxConnectionsReached32951The operation could not be finished because all available connections are in use.
BadMessageNotAvailable32891The requested notification message is no longer available.
BadMethodInvalid32885The method id does not refer to a method for the specified object.
BadMonitoredItemFilterInvalid32835The monitored item filter parameter is not valid.
BadMonitoredItemFilterUnsupported32836The server does not support the requested monitored item filter.
BadMonitoredItemIdInvalid32834The monitoring item id does not refer to a valid monitored item.
BadMonitoringModeInvalid32833The monitoring mode is invalid.
BadNoCommunication32817Communication with the data source is defined, but not established, and there is no last known value available.
BadNoContinuationPoints32843The operation could not be processed because all continuation points have been allocated.
BadNoData32923No data exists for the requested time range or event filter.
BadNoDataAvailable32945No data is currently available for reading from a non-blocking stream.
BadNodeAttributesInvalid32866The node attributes are not valid for the node class.
BadNodeClassInvalid32863The node class is not valid.
BadNodeIdExists32862The requested node id is already used by another node.
BadNodeIdInvalid32819The syntax of the node id is not valid.
BadNodeIdRejected32861The requested node id was reject because it was either invalid or server does not allow node ids to be specified by the client.
BadNodeIdUnknown32820The node id refers to a node that does not exist in the server address space.
BadNoDeleteRights32873The server will not allow the node to be deleted.
BadNodeNotInView32846The node is not part of the view.
BadNoEntryExists32928The data or event was not successfully updated because no matching entry exists.
BadNoMatch32879The requested operation has no match to return.
BadNonceInvalid32804The nonce does appear to be not a random value or it is not the correct length.
BadNoSubscription32889There is no subscription available for this session.
BadNotConnected32906The variable should receive its value from another variable, but has never been configured to do so.
BadNotExecutable33041The executable attribute does not allow the execution of the method.
BadNotFound32830A requested item was not found or a search operation ended without success.
BadNothingToDo32783No processing could be done because there was nothing to do.
BadNotImplemented32832Requested operation is not implemented.
BadNotReadable32826The access level does not allow reading or subscribing to the Node.
BadNotSupported32829The requested operation is not supported.
BadNotTypeDefinition32968The provided Nodeid was not a type definition nodeid.
BadNotWritable32827The access level does not allow writing to the Node.
BadNoValidCertificates32857The client did not provide at least one software certificate that is valid and meets the profile requirements for the server.
BadNumericOverflow33042The number was not accepted because of a numeric overflow.
BadObjectDeleted32831The object cannot be used because it has been deleted.
BadOperationAbandoned32947The asynchronous operation was abandoned by the caller.
BadOutOfMemory32771Not enough memory to complete the operation.
BadOutOfRange32828The value was out of range.
BadOutOfRange_DominantValueChanged33051It is delivered with a dependent Variable value when a dominant Variable has changed and the value is not legal.
BadOutOfRange_DominantValueChanged_DependentValueChanged33053It is delivered with a dependent Variable value when a dominant or dependent Variable has changed and the value is not legal.
BadOutOfService32909The source of the data is not operational.
BadParentNodeIdInvalid32859The parent node id does not to refer to a valid node.
BadProtocolVersionUnsupported32958The applications do not have compatible protocol versions.
BadQueryTooComplex32878The requested operation requires too many resources in the server.
BadReferenceLocalOnly32872The reference type is not valid for a reference to a remote server.
BadReferenceNotAllowed32860The reference could not be created because it violates constraints imposed by the data model.
BadReferenceTypeIdInvalid32844The reference type id does not refer to a valid reference type node.
BadRefreshInProgress32919This Condition refresh failed, a Condition refresh operation is already in progress.
BadRequestCancelledByClient32812The request was cancelled by the client.
BadRequestCancelledByRequest32858The request was cancelled by the client with the Cancel service.
BadRequestHeaderInvalid32810The header for the request is missing or invalid.
BadRequestInterrupted32900The request could not be sent because of a network interruption.
BadRequestNotAllowed32996The request was rejected by the server because it did not meet the criteria set by the server.
BadRequestNotComplete33043The request has not been processed by the server yet.
BadRequestTimeout32901Timeout occurred while processing the request.
BadRequestTooLarge32952The request message size exceeds limits set by the server.
BadRequestTypeInvalid32851The security token request type is not valid.
BadResourceUnavailable32772An operating system resource is not available.
BadResponseTooLarge32953The response message size exceeds limits set by the client.
BadSecureChannelClosed32902The secure channel has been closed.
BadSecureChannelIdInvalid32802The specified secure channel is no longer valid.
BadSecureChannelTokenUnknown32903The token has expired or is not recognized.
BadSecurityChecksFailed32787An error occurred verifying security.
BadSecurityModeInsufficient32998The operation is not permitted over the current secure channel.
BadSecurityModeRejected32852The security mode does not meet the requirements set by the server.
BadSecurityPolicyRejected32853The security policy does not meet the requirements set by the server.
BadSempahoreFileMissing32850The semaphore file specified by the client is not valid.
BadSensorFailure32908There has been a failure in the sensor from which the value is derived by the device/data source.
BadSequenceNumberInvalid32904The sequence number is not valid.
BadSequenceNumberUnknown32890The sequence number is unknown to the server.
BadServerHalted32782The server has stopped and cannot process any requests.
BadServerIndexInvalid32874The server index is not valid.
BadServerNameMissing32848No ServerName was specified.
BadServerNotConnected32781The operation could not complete because the client is not connected to the server.
BadServerUriInvalid32847The ServerUri is not a valid URI.
BadServiceUnsupported32779The server does not support the requested service.
BadSessionClosed32806The session was closed by the client.
BadSessionIdInvalid32805The session id is not valid.
BadSessionNotActivated32807The session cannot be used because ActivateSession has not been called.
BadShelvingTimeOutOfRange32979The shelving time not within an acceptable range.
BadShutdown32780The operation was cancelled because the application is shutting down.
BadSourceNodeIdInvalid32868The source node id does not reference a valid node.
BadStateNotActive32959The sub-state machine is not currently active.
BadStructureMissing32838A mandatory structured parameter was missing or null.
BadSubscriptionIdInvalid32808The subscription id is not valid.
BadSyntaxError32950A value had an invalid syntax.
BadTargetNodeIdInvalid32869The target node id does not reference a valid node.
BadTcpEndpointUrlInvalid32899The server does not recognize the QueryString specified.
BadTcpInternalError32898An internal error occurred.
BadTcpMessageTooLarge32896The size of the message chunk specified in the header is too large.
BadTcpMessageTypeInvalid32894The type of the message specified in the header invalid.
BadTcpNotEnoughResources32897There are not enough resources to process the request.
BadTcpSecureChannelUnknown32895The SecureChannelId and/or TokenId are not currently in use.
BadTcpServerTooBusy32893The server cannot process the request because it is too busy.
BadTicketInvalid33056The device identity needs a ticket before it can be accepted.
BadTicketRequired33055The device identity needs a ticket before it can be accepted.
BadTimeout32778The operation timed out.
BadTimestampNotSupported32929The client requested history using a timestamp format the server does not support (i.e requested ServerTimestamp when server only supports SourceTimestamp).
BadTimestampsToReturnInvalid32811The timestamps to return parameter is invalid.
BadTooManyArguments32997Too many arguments were provided.
BadTooManyMatches32877The requested operation has too many matches to return.
BadTooManyMonitoredItems32987The request could not be processed because there are too many monitored items in the subscription.
BadTooManyOperations32784The request could not be processed because it specified too many operations.
BadTooManyPublishRequests32888The server has reached the maximum number of queued publish requests.
BadTooManySessions32854The server has reached its maximum number of sessions.
BadTooManySubscriptions32887The server has reached its maximum number of subscriptions.
BadTransactionPending33000The operation is not allowed because a transaction is in progress.
BadTypeDefinitionInvalid32867The type definition node id does not reference an appropriate type node.
BadTypeMismatch32884The value supplied for the attribute is not of the same type as the attribute's value.
BadUnexpectedError32769An unexpected error occurred.
BadUnknownResponse32777An unrecognized response was received from the server.
BadUserAccessDenied32799User does not have permission to perform the requested operation.
BadUserSignatureInvalid32855The user token signature is missing or invalid.
BadViewIdUnknown32875The view id does not refer to a valid view node.
BadViewParameterMismatch32970The view parameters are not consistent with each other.
BadViewTimestampInvalid32969The view timestamp is not available or not supported.
BadViewVersionInvalid32971The view version is not available or not supported.
BadWaitingForInitialData32818Waiting for the server to obtain values from the underlying data source.
BadWaitingForResponse32946The asynchronous operation is waiting for a response.
BadWouldBlock32949Non blocking behaviour is required and the operation would block.
BadWriteNotSupported32883The server does not support writing the combination of value, status and timestamps provided.
Good0The operation succeeded.
GoodCallAgain169The operation is not finished and needs to be called again.
GoodCascade1033The value is accurate, and the signal source supports cascade handshaking.
GoodCascadeInitializationAcknowledged1025The value source supports cascade handshaking and the value has been Initialized based on an initialization request from a cascade secondary.
GoodCascadeInitializationRequest1026The value source supports cascade handshaking and is requesting initialization of a cascade primary.
GoodCascadeNotInvited1027The value source supports cascade handshaking, however, the source�s current state does not allow for cascade.
GoodCascadeNotSelected1028The value source supports cascade handshaking, however, the source has not selected the corresponding cascade primary for use.
GoodClamped48The value written was accepted but was clamped.
GoodCommunicationEvent167The communication layer has raised an event.
GoodCompletesAsynchronously46The processing will complete asynchronously.
GoodDataIgnored217The request specifies fields which are not valid for the EventType or cannot be saved by the historian.
GoodDependentValueChanged224A dependent value has been changed but the change has not been applied to the device.
GoodEdited220The value does not come from the real source and has been edited by the server.
GoodEdited_DependentValueChanged278It is delivered with a dominant Variable value when a dependent Variable has changed but the change has not been applied.
GoodEdited_DominantValueChanged279It is delivered with a dependent Variable value when a dominant Variable has changed but the change has not been applied.
GoodEdited_DominantValueChanged_DependentValueChanged280It is delivered with a dependent Variable value when a dominant or dependent Variable has changed but change has not been applied.
GoodEntryInserted162The data or event was successfully inserted into the historical database.
GoodEntryReplaced163The data or event field was successfully replaced in the historical database.
GoodFaultStateActive1031There is a fault state condition active in the value source.
GoodInitiateFaultState1032A fault state condition is being requested of the destination.
GoodLocalOverride150The value has been overridden.
GoodMoreData166More data is available in the time range beyond the number of values requested.
GoodNoData165No data exists for the requested time range or event filter.
GoodNonCriticalTimeout170A non-critical timeout occurred.
GoodOverload47Sampling has slowed down due to resource limitations.
GoodPostActionFailed221There was an error in execution of these post-actions.
GoodResultsMayBeIncomplete186The server should have followed a reference to a node in a remote server but did not. The result set may be incomplete.
GoodRetransmissionQueueNotSupported223The Server does not support retransmission queue and acknowledgement of sequence numbers is not available.
GoodShutdownEvent168The system is shutting down.
GoodSubscriptionTransferred45The subscription was transferred to another session.
Uncertain16384The operation was uncertain.
UncertainConfigurationError16911The value may not be accurate due to a configuration issue.
UncertainDataSubNormal16548The value is derived from multiple values and has less than the required number of Good values.
UncertainDependentValueChanged16610A dependent value has been changed but the change has not been applied to the device. The quality of the dominant variable is uncertain.
UncertainDominantValueChanged16606The related EngineeringUnit has been changed but the Variable Value is still provided based on the previous unit.
UncertainEngineeringUnitsExceeded16532The value is outside of the range of values defined for this parameter.
UncertainInitialValue16530The value is an initial value for a variable that normally receives its value from another variable.
UncertainLastUsableValue16528Whatever was updating this value has stopped doing so.
UncertainNoCommunicationLastUsableValue16527Communication to the data source has failed. The variable value is the last value that had a good quality.
UncertainNotAllNodesAvailable16576The list of references may not be complete because the underlying system is not available.
UncertainReferenceNotDeleted16572The server was not able to delete all target references.
UncertainReferenceOutOfServer16492One of the references to follow in the relative path references to a node in the address space in another server.
UncertainSensorCalibration16906The value may not be accurate due to a sensor calibration fault.
UncertainSensorNotAccurate16531The value is at one of the sensor limits.
UncertainSimulatedValue16905The value is simulated.
UncertainSubNormal16533The value is derived from multiple sources and has less than the required number of Good sources.
UncertainSubstituteValue16529The value is an operational value that was manually overwritten.
UncertainTransducerInManual16904The value may not be accurate because the transducer is in manual mode.
Remarks

There is an implicit conversion from UAServiceResult to UACodeBits, which takes the code bits of the UAStatusCode. You can use this e.g. to make a comparison of UAServiceResult with some value from the UACodeBits class easily.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         OpcLabs.EasyOpc.UA.UACodeBits

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also