PicoOPC User's Guide and Reference
DisconnectAsync Method



OpcLabs.PicoOpc Assembly > OpcLabs.PicoOpc.UA Namespace > Client Class : DisconnectAsync Method
Asynchronously disconnects from the server.
Syntax
'Declaration
 
<AsyncStateMachineAttribute(OpcLabs.PicoOpc.UA.Client+d__16)> 
Public Function DisconnectAsync() As Task
'Usage
 
Dim instance As Client
Dim value As Task
 
value = instance.DisconnectAsync()
[AsyncStateMachine(OpcLabs.PicoOpc.UA.Client+d__16)] 
public Task DisconnectAsync()
[AsyncStateMachine(OpcLabs.PicoOpc.UA.Client+d__16)] 
public: 
Task^ DisconnectAsync(); 
Exceptions
ExceptionDescription
Serves as the base class for application-defined exceptions.
Usage error.
The exception that is thrown when an I/O error occurs.
 
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Client Class
Client Members