Skip to content

Reference

OpcStatusCode Enum

Specifies the status codes defined by OPC UA.

Reference

OpcStatusCode Enum ​

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Specifies the status codes defined by OPC UA.

Syntax ​

csharp
[CLSCompliant(false)]
public enum OpcStatusCode : uint
vbnet
<CLSCompliant(False)>
Public Enum OpcStatusCode As UInteger

Inheritance ​

Object → ValueType → Enum → OpcStatusCode

Fields ​

NameValueDescription
Bad2147483648The operation failed.
BadAggregateConfigurationRejected2161770496The aggregate configuration is not valid for specified node.
BadAggregateInvalidInputs2161508352The aggregate value could not be derived due to invalid data inputs.
BadAggregateListMismatch2161377280The requested number of aggregates does not match the requested number of node id's.
BadAggregateNotSupported2161442816The requested aggregate is not support by the server.
BadApplicationSignatureInvalid2153250816The signature generated with the client certificate is missing or invalid.
BadArgumentsMissing2155216896The client did not specify all of the input arguments for the method.
BadAttributeInvalid2150957056The attribute is not supported for the specified Node.
BadBoundNotFound2161573888No data found to provide upper or lower bound value.
BadBoundNotSupported2161639424The server cannot retrieve a bound for the variable.
BadBrowseDirectionInvalid2152529920The browse direction is not valid.
BadBrowseNameDuplicated2153840640The browse name is not unique among nodes that share the same relationship with the parent.
BadBrowseNameInvalid2153775104The browse name is invalid.
BadCertificateHostNameInvalid2148925440The HostName used to connect to a Server does not match a host name in the certificate.
BadCertificateInvalid2148663296The certificate provided as a parameter is not valid.
BadCertificateIssuerRevocationUnknown2149318656It was not possible to determine if the issuer certificate has been revoked.
BadCertificateIssuerRevoked2149449728The Issuer certificate has been revoked.
BadCertificateIssuerTimeInvalid2148859904An Issuer certificate has expired or is not yet valid.
BadCertificateIssuerUseNotAllowed2149122048The issuer certificate may not be used for the requested operation.
BadCertificateRevocationUnknown2149253120It was not possible to determine if the certificate has been revoked.
BadCertificateRevoked2149384192The Certificate has been revoked.
BadCertificateTimeInvalid2148794368The certificate has expired or is not yet valid.
BadCertificateUntrusted2149187584The certificate is not trusted.
BadCertificateUriInvalid2148990976The URI specified does not match the URI in the Certificate.
BadCertificateUseNotAllowed2149056512The certificate may not be used for the requested operation.
BadCommunicationError2147811328A low level communication error occurred.
BadConditionAlreadyDisabled2157445120This condition has already been disabled.
BadConditionAlreadyEnabled2160852992This condition has already been enabled.
BadConditionAlreadyShelved2161180672The condition has already been shelved.
BadConditionBranchAlreadyAcked2161049600The condition branch has already been acknowledged.
BadConditionBranchAlreadyConfirmed2161115136The condition branch has already been confirmed.
BadConditionDisabled2157510656The property is not available, this condition is disabled.
BadConditionNotShelved2161246208The condition is not currently shelved.
BadConfigurationError2156462080There is a problem with the configuration that affects the usefulness of the value.
BadConnectionClosed2158886912The network connection has been closed.
BadConnectionRejected2158755840Could not establish a network connection to remote server.
BadContentFilterInvalid2152202240The content filter is not valid.
BadContinuationPointInvalid2152333312The continuation point provide is longer valid.
BadDataEncodingInvalid2151153664The data encoding is invalid.
BadDataEncodingUnsupported2151219200The server does not support the requested data encoding for the node.
BadDataLost2157772800Data is missing due to collection started/stopped/lost.
BadDataTypeIdUnknown2148597760The extension object cannot be (de)serialized because the data type id is not recognized.
BadDataUnavailable2157838336Expected 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.
BadDeadbandFilterInvalid2156789760The deadband filter is not valid.
BadDecodingError2147942400Decoding halted because of invalid data in the stream.
BadDeviceFailure2156593152There has been a failure in the device/data source that generates the value that has affected the value.
BadDialogNotActive2160918528The dialog condition is not active.
BadDialogResponseInvalid2160984064The response is not valid for the dialog.
BadDisconnect2158821376The server has disconnected from the client.
BadDiscoveryUrlMissing2152792064No discovery URL was specified.
BadDuplicateReferenceNotAllowed2154168320The reference type between the nodes is already defined.
BadEncodingError2147876864Encoding halted because of invalid data in the objects being serialized.
BadEncodingLimitsExceeded2148007936The message encoding/decoding limits imposed by the stack have been exceeded.
BadEndOfStream2159017984Cannot move beyond end of the stream.
BadEntryExists2157903872The data or event was not successfully inserted because a matching entry exists.
BadEventFilterInvalid2152136704The event filter is not valid.
BadEventIdUnknown2157576192The specified event id is not recognized.
BadEventNotAcknowledgeable2159738880The event cannot be acknowledged.
BadExpectedStreamToBlock2159280128The stream did not return all data requested (possibly because it is a non-blocking stream).
BadFilterElementInvalid2160328704The referenced element is not a valid element in the content filter.
BadFilterLiteralInvalid2160394240The referenced literal is not a valid value.
BadFilterNotAllowed2152005632A monitoring filter cannot be used in combination with the attribute specified.
BadFilterOperandCountMismatch2160263168The number of operands provided for the filter operator was less then expected for the operand provided.
BadFilterOperandInvalid2152267776The operand used in a content filter is not valid.
BadFilterOperatorInvalid2160132096An unregognized operator was provided in a filter.
BadFilterOperatorUnsupported2160197632A valid operator was provided, but the server does not provide support for this filter operator.
BadHistoryOperationInvalid2154889216The history details parameter is not valid.
BadHistoryOperationUnsupported2154954752The server does not support the requested operation.
BadIdentityChangeNotSupported2160459776The Server does not support changing the user identity assigned to the session.
BadIdentityTokenInvalid2149580800The user identity token is not valid.
BadIdentityTokenRejected2149646336The user identity token is valid but the server has rejected it.
BadIndexRangeInvalid2151022592The syntax of the index range parameter is invalid.
BadIndexRangeNoData2151088128No data exists within the range of indexes specified.
BadInsufficientClientProfile2155610112The client of the current session does not support one or more profiles that are necessary for the subscription.
BadInternalError2147614720An internal error occurred as a result of a programming or configuration error.
BadInvalidArgument2158690304One or more arguments are invalid.
BadInvalidSelfReference2154233856The server does not allow this type of self reference on this node.
BadInvalidState2158952448The operation cannot be completed because the object is closed, uninitialized or in some other invalid state.
BadInvalidTimestamp2149777408The timestamp is outside the range allowed by the server.
BadInvalidTimestampArgument2159869952The defined timestamp to return was invalid.
BadLicenseExpired2165178368The server requires a license to operate in general or to perform a service or operation, but existing license is expired.
BadLicenseLimitsExceeded2165243904The server has limits on number of allowed operations / objects, based on installed licenses, and these limits where exceeded.
BadLicenseNotAvailable2165309440The server does not have a license which is required to operate in general or to perform a service or operation.
BadMaxAgeInvalid2154823680The max age parameter is invalid.
BadMaxConnectionsReached2159476736The operation could not be finished because all available connections are in use.
BadMessageNotAvailable2155544576The requested notification message is no longer available.
BadMethodInvalid2155151360The method id does not refer to a method for the specified object.
BadMonitoredItemFilterInvalid2151874560The monitored item filter parameter is not valid.
BadMonitoredItemFilterUnsupported2151940096The server does not support the requested monitored item filter.
BadMonitoredItemIdInvalid2151809024The monitoring item id does not refer to a valid monitored item.
BadMonitoringModeInvalid2151743488The monitoring mode is invalid.
BadNoCommunication2150694912Communication with the data source is defined, but not established, and there is no last known value available.
BadNoContinuationPoints2152398848The operation could not be processed because all continuation points have been allocated.
BadNoData2157641728No data exists for the requested time range or event filter.
BadNoDataAvailable2159083520No data is currently available for reading from a non-blocking stream.
BadNoDeleteRights2154364928The server will not allow the node to be deleted.
BadNoEntryExists2157969408The data or event was not successfully updated because no matching entry exists.
BadNoMatch2154758144The requested operation has no match to return.
BadNoSubscription2155413504There is no subscription available for this session.
BadNoValidCertificates2153316352The client did not provide at least one software certificate that is valid and meets the profile requirements for the server.
BadNodeAttributesInvalid2153906176The node attributes are not valid for the node class.
BadNodeClassInvalid2153709568The node class is not valid.
BadNodeIdExists2153644032The requested node id is already used by another node.
BadNodeIdInvalid2150825984The syntax of the node id is not valid.
BadNodeIdRejected2153578496The requested node id was reject because it was either invalid or server does not allow node ids to be specified by the client.
BadNodeIdUnknown2150891520The node id refers to a node that does not exist in the server address space.
BadNodeNotInView2152595456The node is not part of the view.
BadNonceInvalid2149842944The nonce does appear to be not a random value or it is not the correct length.
BadNotConnected2156527616The variable should receive its value from another variable, but has never been configured to do so.
BadNotFound2151546880A requested item was not found or a search operation ended without success.
BadNotImplemented2151677952Requested operation is not implemented.
BadNotReadable2151284736The access level does not allow reading or subscribing to the Node.
BadNotSupported2151481344The requested operation is not supported.
BadNotTypeDefinition2160590848The provided Nodeid was not a type definition nodeid.
BadNotWritable2151350272The access level does not allow writing to the node.
BadNothingToDo2148466688There was nothing to do because the client passed a list of operations with no elements.
BadObjectDeleted2151612416The object cannot be used because it has been deleted.
BadOperationAbandoned2159214592The asynchronous operation was abandoned by the caller.
BadOutOfMemory2147680256Not enough memory to complete the operation.
BadOutOfRange2151415808The value was out of range.
BadOutOfService2156724224The source of the data is not operational.
BadParentNodeIdInvalid2153447424The parent node id does not to refer to a valid node.
BadProtocolVersionUnsupported2159935488The applications do not have compatible protocol versions.
BadQueryTooComplex2154692608The requested operation requires too many resources in the server.
BadReferenceLocalOnly2154299392The reference type is not valid for a reference to a remote server.
BadReferenceNotAllowed2153512960The reference could not be created because it violates constraints imposed by the data model.
BadReferenceTypeIdInvalid2152464384The operation could not be processed because all continuation points have been allocated.
BadRefreshInProgress2157379584This condition refresh failed, a condition refresh operation is already in progress.
BadRequestCancelledByClient2150367232The request was cancelled by the client.
BadRequestCancelledByRequest2153381888The request was cancelled by the client with the cancel service.
BadRequestHeaderInvalid2150236160The header for the request is missing or invalid.
BadRequestInterrupted2156134400The request could not be sent because of a network interruption.
BadRequestTimeout2156199936Timeout occurred while processing the request.
BadRequestTooLarge2159542272The request message size exceeds limits set by the server.
BadRequestTypeInvalid2152923136The security token request type is not valid.
BadResourceUnavailable2147745792An operating system resource is not available.
BadResponseTooLarge2159607808The response message size exceeds limits set by the client.
BadSecureChannelClosed2156265472The secure channel has been closed.
BadSecureChannelIdInvalid2149711872The specified secure channel is no longer valid.
BadSecureChannelTokenUnknown2156331008The token has expired or is not recognized.
BadSecurityChecksFailed2148728832An error occurred verifying security.
BadSecurityModeRejected2152988672The security mode does not meet the requirements set by the server.
BadSecurityPolicyRejected2153054208The security policy does not meet the requirements set by the server.
BadSempahoreFileMissing2152857600The semaphore file specified by the client is not valid.
BadSensorFailure2156658688There has been a failure in the sensor from which the value is derived by the device/data source.
BadSequenceNumberInvalid2156396544The sequence number is not valid.
BadSequenceNumberUnknown2155479040The sequence number is unknown to the server.
BadServerHalted2148401152The server has stopped and cannot process any requests.
BadServerIndexInvalid2154430464The server index is not valid.
BadServerNameMissing2152726528No ServerName was specified.
BadServerNotConnected2148335616The operation could not complete because the client is not connected to the server.
BadServerUriInvalid2152660992The ServerUri is not a valid URI.
BadServiceUnsupported2148204544The server does not support the requested service.
BadSessionClosed2149974016The session was closed by the client.
BadSessionIdInvalid2149908480The session id is not valid.
BadSessionNotActivated2150039552The session cannot be used because ActivateSession has not been called.
BadShelvingTimeOutOfRange2161311744The shelving time not within an acceptable range.
BadShutdown2148270080The operation was cancelled because the application is shutting down.
BadSourceNodeIdInvalid2154037248The source node id does not reference a valid node.
BadStateNotActive2160001024The sub-state machine is not currently active.
BadStructureMissing2152071168A mandatory structured parameter was missing or null.
BadSubscriptionIdInvalid2150105088The subscription id is not valid.
BadSyntaxError2159411200A value had an invalid syntax.
BadTargetNodeIdInvalid2154102784The target node id does not reference a valid node.
BadTcpEndpointUrlInvalid2156068864The server does not recognize the query string specified.
BadTcpInternalError2156003328An internal error occurred.
BadTcpMessageTooLarge2155872256The size of the message specified in the header is too large.
BadTcpMessageTypeInvalid2155741184The type of the message specified in the header invalid.
BadTcpNotEnoughResources2155937792There are not enough resources to process the request.
BadTcpSecureChannelUnknown2155806720The secure channel id and/or token id is not currently in use.
BadTcpServerTooBusy2155675648The server cannot process the request because it is too busy.
BadTimeout2148139008The operation timed out.
BadTimestampNotSupported2158034944The client requested history using a timestamp format the server does not support (i.e requested server timestamp when server only supports source timestamp).
BadTimestampsToReturnInvalid2150301696The timestamps to return parameter is invalid.
BadTooManyMatches2154627072The requested operation has too many matches to return.
BadTooManyMonitoredItems2161836032The request could not be processed because there are too many monitored items in the subscription.
BadTooManyOperations2148532224The request could not be processed because it specified too many operations.
BadTooManyPublishRequests2155347968The server has reached the maximum number of queued publish requests.
BadTooManySessions2153119744The server has reached its maximum number of sessions.
BadTooManySubscriptions2155282432The server has reached its maximum number of subscriptions.
BadTypeDefinitionInvalid2153971712The type definition node id does not reference an appropriate type node.
BadTypeMismatch2155085824The value supplied for the attribute is not of the same type as the attribute's value.
BadUnexpectedError2147549184An unexpected error occurred.
BadUnknownResponse2148073472An unrecognized response was received from the server.
BadUserAccessDenied2149515264User does not have permission to perform the requested operation.
BadUserSignatureInvalid2153185280The user token signature is missing or invalid.
BadViewIdUnknown2154496000The view id does not refer to a valid view node.
BadViewParameterMismatch2160721920The view parameters are not consistent with each other.
BadViewTimestampInvalid2160656384The view timestamp is not available or not supported.
BadViewVersionInvalid2160787456The view version is not available or not supported.
BadWaitingForInitialData2150760448Waiting for the server to obtain values from the underlying data source.
BadWaitingForResponse2159149056The asynchronous operation is waiting for a response.
BadWouldBlock2159345664Non blocking behaviour is required and the operation would block.
BadWriteNotSupported2155020288The server not does support writing the combination of value, status and timestamps provided.
Good0The operation completed successfully.
GoodCallAgain11075584The operation is not finished and needs to be called again.
GoodClamped3145728The value written was accepted but was clamped.
GoodCommunicationEvent10944512The communication layer has raised an event.
GoodCompletesAsynchronously3014656The processing will complete asynchronously.
GoodDataIgnored14221312The request pecifies fields which are not valid for the event type or cannot be saved by the historian.
GoodEntryInserted10616832The data or event was successfully inserted into the historical database.
GoodEntryReplaced10682368The data or event field was successfully replaced in the historical database.
GoodLocalOverride9830400The value has been overridden.
GoodMoreData10878976The data or event field was successfully replaced in the historical database.
GoodNoData10813440No data exists for the requested time range or event filter.
GoodNonCriticalTimeout11141120A non-critical timeout occurred.
GoodOverload3080192Sampling has slowed down due to resource limitations.
GoodResultsMayBeIncomplete12189696The server should have followed a reference to a node in a remote server but did not. The result set may be incomplete.
GoodShutdownEvent11010048The system is shutting down.
GoodSubscriptionTransferred2949120The subscription was transferred to another session.
Uncertain1073741824The operation completed however its outputs may not be usable.
UncertainDataSubNormal1084489728The value is derived from multiple values and has less than the required number of Good values.
UncertainEngineeringUnitsExceeded1083441152The value is outside of the range of values defined for this parameter.
UncertainInitialValue1083310080The value is an initial value for a variable that normally receives its value from another variable.
UncertainLastUsableValue1083179008Whatever was updating this value has stopped doing so.
UncertainNoCommunicationLastUsableValue1083113472Communication to the data source has failed. The variable value is the last value that had a good quality.
UncertainNotAllNodesAvailable1086324736The list of references may not be complete because the underlying system is not available.
UncertainReferenceNotDeleted1086062592The server was not able to delete all target references.
UncertainReferenceOutOfServer1080819712One of the references to follow in the relative path references to a node in the address space in another server.
UncertainSensorNotAccurate1083375616The value is at one of the sensor limits.
UncertainSubNormal1083506688The value is derived from multiple sources and has less than the required number of Good sources.
UncertainSubstituteValue1083244544The value is an operational value that was manually overwritten.

Extension methods ​

NameDescription
OpcStatusCodeExtensions.IsBadDetermines whether the severity of the status code specified is Bad.
OpcStatusCodeExtensions.IsGoodDetermines whether the severity of the status code specified is Good.
OpcStatusCodeExtensions.IsNotBadDetermines whether the severity of the status code specified is not Bad.
OpcStatusCodeExtensions.IsNotGoodDetermines whether the severity of the status code specified is not Good.
OpcStatusCodeExtensions.IsNotUncertainDetermines whether the severity of the status code specified is not Uncertain.
OpcStatusCodeExtensions.IsUncertainDetermines whether the severity of the status code specified is Uncertain.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.5–v2.59