Specifies the error codes returned by the SocketWrench class.
The SocketWrench class uses the ErrorCode enumeration to specify what error has occurred when a method fails. The current error code may be determined by checking the value of the LastError property.
Note that the last error code is only meaningful if the previous operation has failed.
| Member Name | Description |
|---|---|
| errorNone | No error. |
| errorNotHandleOwner | Handle not owned by the current thread. |
| errorFileNotFound | The specified file or directory does not exist. |
| errorFileNotCreated | The specified file could not be created. |
| errorOperationCanceled | The blocking operation has been canceled. |
| errorInvalidFileType | The specified file is a block or character device, not a regular file. |
| errorInvalidDevice | The specified file type is invalid or not a regular file. |
| errorTooManyParameters | The maximum number of function parameters has been exceeded. |
| errorInvalidFileName | The specified file name contains invalid characters or is too long. |
| errorInvalidFileHandle | Invalid file handle passed to function. |
| errorFileReadFailed | Unable to read data from the specified file. |
| errorFileWriteFailed | Unable to write data to the specified file. |
| errorOutOfMemory | Out of memory. |
| errorAccessDenied | Access denied. |
| errorInvalidParameter | Invalid argument passed to function. |
| errorClipboardUnavailable | The system clipboard is currently unavailable. |
| errorClipboardEmpty | The system clipboard is empty or does not contain any text data. |
| errorFileEmpty | The specified file does not contain any data. |
| errorFileExists | The specified file already exists. |
| errorEndOfFile | End of file. |
| errorDeviceNotFound | The specified device could not be found. |
| errorDirectoryNotFound | The specified directory could not be found. |
| errorInvalidBuffer | Invalid memory address passed to function. |
| errorBufferTooSmall | The specified buffer is not large enough to contain the data. |
| errorNoHandles | No more handles are available to this process. |
| errorOperationWouldBlock | The specified operation would block the current thread. |
| errorOperationInProgress | A blocking operation is currently in progress. |
| errorAlreadyInProgress | The specified operation is already in progress. |
| errorInvalidHandle | Invalid handle passed to function. |
| errorInvalidAddress | Invalid network address specified. |
| errorInvalidSize | Datagram is too large to fit in specified buffer. |
| errorInvalidProtocol | Invalid network protocol specified. |
| errorProtocolNotAvailable | The specified network protocol is not available. |
| errorProtocolNotSupported | The specified protocol is not supported. |
| errorSocketNotSupported | The specified socket type is not supported. |
| errorInvalidOption | The specified option is invalid. |
| errorProtocolFamily | Specified protocol family is not supported. |
| errorProtocolAddress | The specified address is invalid for this protocol family. |
| errorAddressInUse | The specified address is in use by another process. |
| errorAddressUnavailable | The specified address cannot be assigned. |
| errorNetworkUnavailable | The networking subsystem is unavailable. |
| errorNetworkUnreachable | The specified network is unreachable. |
| errorNetworkReset | Network dropped connection on remote reset. |
| errorConnectionAborted | Connection was aborted due to timeout or other failure. |
| errorConnectionReset | Connection was reset by remote network. |
| errorOutOfBuffers | No buffer space is available. |
| errorAlreadyConnected | Connection already established with remote host. |
| errorNotConnected | No connection established with remote host. |
| errorConnectionShutdown | Unable to send or receive data after connection shutdown. |
| errorOperationTimeout | The specified operation has timed out. |
| errorConnectionRefused | The connection has been refused by the remote host. |
| errorHostUnavailable | The specified host is unavailable. |
| errorHostUnreachable | Remote host is unreachable. |
| errorTooManyProcesses | Too many processes are using the networking subsystem. |
| errorNetworkNotReady | Network subsystem is not ready for communication. |
| errorInvalidVersion | This version of the operating system is not supported. |
| errorNetworkNotInitialized | The networking subsystem has not been initialized. |
| errorRemoteShutdown | The remote host has initiated a graceful shutdown sequence. |
| errorInvalidHostName | The specified hostname is invalid or could not be resolved. |
| errorHostNameNotFound | The specified hostname could not be found. |
| errorHostNameRefused | Unable to resolve hostname, request refused. |
| errorHostNameNotResolved | Unable to resolve hostname, no address for specified host. |
| errorInvalidLicense | The license for this product is invalid. |
| errorProductNotLicensed | This product is not licensed to perform this operation. |
| errorNotImplemented | This function has not been implemented on this platform. |
| errorUnknownLocalhost | Unable to determine local host name. |
| errorInvalidHostAddress | Invalid host address specified. |
| errorInvalidServicePort | Invalid service port number specified. |
| errorInvalidServiceName | Invalid or unknown service name specified. |
| errorInvalidEventId | Invalid event identifier specified. |
| errorOperationNotBlocking | No blocking operation in progress on this socket. |
| errorSecurityNotInitialized | Unable to initialize security interface for this process. |
| errorSecurityContext | Unable to establish security context for this session. |
| errorSecurityCredentials | Unable to open client certificate store or establish client credentials. |
| errorSecurityCertificate | Unable to validate server certificate. |
| errorSecurityDecryption | Unable to decrypt data stream. |
| errorSecurityEncryption | Unable to encrypt data stream. |
Namespace: SocketTools
Assembly: SocketTools.SocketWrench (in SocketTools.SocketWrench.dll)