RMCLink COM Component RMCLink.CancelRequest Method |
This method can be used in multi-threaded applications to cancel the currently-in-progress read, write, or connect request.
Visual Basic (Declaration) |
Sub CancelRequest () |
Visual Basic (Usage) |
Dim instance As RMCLink
instance.CancelRequest |
This method is only for use in multi-threaded applications.
This method signals the current read, write, or connection attempt (if one is in progress) to fail immediately with an rmcECancelled error code. If no transaction is in progress when this method is called, then this method will do nothing and return.
This method affects, at most, one transaction (read, write, or connection attempt), so requests made after this method returns will behave normally.
Notice that none of the languages for which we recommend using the COM component directly (versus using the .NET Interop Assembly or C++ wrapper class) support multiple threads.
No exceptions are generated by this method.
See Also
RMCLink Class | RMCLink COM Component
Copyright (c) 2024 Delta Computer Systems, Inc. dba Delta Motion