VpnChannel.TerminateConnection(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows a VPN plugin to indicate an error message and terminate the connection attempt performed inside the IVpnPlugin.Connect method. Should not be called on reconnect cases.
public:
virtual void TerminateConnection(Platform::String ^ message) = TerminateConnection;
void TerminateConnection(winrt::hstring const& message);
public void TerminateConnection(string message);
function terminateConnection(message)
Public Sub TerminateConnection (message As String)
Parameters
- message
-
String
Platform::String
winrt::hstring
The text of the error message.
Windows requirements
App capabilities |
networkingVpnProvider
|